You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/merchantapi_accounts_v1beta.accounts.onlineReturnPolicies.html
+4-4
Original file line number
Diff line number
Diff line change
@@ -117,12 +117,12 @@ <h3>Method Details</h3>
117
117
],
118
118
"label": "A String", # Required. Immutable. This field represents the unique user-defined label of the return policy. It is important to note that the same label cannot be used in different return policies for the same country. Unless a product specifies a specific label attribute, policies will be automatically labeled as 'default'. To assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.
119
119
"name": "A String", # Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
120
-
"policy": { # The available policies. # The return policy.
120
+
"policy": { # The available policies. # Optional. The return policy.
121
121
"days": "A String", # The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
"processRefundDays": 42, # The field specifies the number of days it takes for merchants to process refunds, field is optional.
125
-
"restockingFee": { # The restocking fee. This can be a flat fee or a micro percent. # The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set.
125
+
"restockingFee": { # The restocking fee. This can be a flat fee or a micro percent. # Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set.
126
126
"fixedFee": { # The price represented as a number and currency. # Fixed restocking fee.
127
127
"amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
128
128
"currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
@@ -195,12 +195,12 @@ <h3>Method Details</h3>
195
195
],
196
196
"label": "A String", # Required. Immutable. This field represents the unique user-defined label of the return policy. It is important to note that the same label cannot be used in different return policies for the same country. Unless a product specifies a specific label attribute, policies will be automatically labeled as 'default'. To assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.
197
197
"name": "A String", # Identifier. The name of the `OnlineReturnPolicy` resource. Format: `accounts/{account}/onlineReturnPolicies/{return_policy}`
198
-
"policy": { # The available policies. # The return policy.
198
+
"policy": { # The available policies. # Optional. The return policy.
199
199
"days": "A String", # The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
"processRefundDays": 42, # The field specifies the number of days it takes for merchants to process refunds, field is optional.
203
-
"restockingFee": { # The restocking fee. This can be a flat fee or a micro percent. # The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set.
203
+
"restockingFee": { # The restocking fee. This can be a flat fee or a micro percent. # Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set.
204
204
"fixedFee": { # The price represented as a number and currency. # Fixed restocking fee.
205
205
"amountMicros": "A String", # The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).
206
206
"currencyCode": "A String", # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json
+10-10
Original file line number
Diff line number
Diff line change
@@ -1476,7 +1476,7 @@
1476
1476
}
1477
1477
}
1478
1478
},
1479
-
"revision": "20250311",
1479
+
"revision": "20250319",
1480
1480
"rootUrl": "https://merchantapi.googleapis.com/",
1481
1481
"schemas": {
1482
1482
"Accepted": {
@@ -2651,7 +2651,7 @@ false
2651
2651
},
2652
2652
"policy": {
2653
2653
"$ref": "Policy",
2654
-
"description": "The return policy."
2654
+
"description": "Optional. The return policy."
2655
2655
},
2656
2656
"processRefundDays": {
2657
2657
"description": "The field specifies the number of days it takes for merchants to process refunds, field is optional.",
@@ -2660,7 +2660,7 @@ false
2660
2660
},
2661
2661
"restockingFee": {
2662
2662
"$ref": "RestockingFee",
2663
-
"description": "The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set."
2663
+
"description": "Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set."
2664
2664
},
2665
2665
"returnMethods": {
2666
2666
"description": "Optional. The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.",
@@ -2752,34 +2752,34 @@ false
2752
2752
"type": "object"
2753
2753
},
2754
2754
"PostalAddress": {
2755
-
"description": "Represents a postal address. For example for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478",
2755
+
"description": "Represents a postal address (for example, for postal delivery or payments addresses). Given a postal address, a postal service can deliver items to a premise, P.O. box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https://github.com/google/libaddressinput. - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, see: https://support.google.com/business/answer/6397478.",
2756
2756
"id": "PostalAddress",
2757
2757
"properties": {
2758
2758
"addressLines": {
2759
-
"description": "Unstructured address lines describing the lower levels of an address. Because values in address_lines do not have type information and may sometimes contain multiple values in a single field (For example \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country/region of the address. In places where this can vary (For example Japan), address_language is used to make it explicit (For example \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). This way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a region_code with all remaining information placed in the address_lines. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a region_code and address_lines, and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).",
2759
+
"description": "Unstructured address lines describing the lower levels of an address. Because values in `address_lines` do not have type information and may sometimes contain multiple values in a single field (for example, \"Austin, TX\"), it is important that the line order is clear. The order of address lines should be \"envelope order\" for the country or region of the address. In places where this can vary (for example, Japan), `address_language` is used to make it explicit (for example, \"ja\" for large-to-small ordering and \"ja-Latn\" or \"en\" for small-to-large). In this way, the most specific line of an address can be selected based on the language. The minimum permitted structural representation of an address consists of a `region_code` with all remaining information placed in the `address_lines`. It would be possible to format such an address very approximately without geocoding, but no semantic reasoning could be made about any of the address components until it was at least partially resolved. Creating an address only containing a `region_code` and `address_lines` and then geocoding is the recommended way to handle completely unstructured addresses (as opposed to guessing which parts of the address should be localities or administrative areas).",
2760
2760
"items": {
2761
2761
"type": "string"
2762
2762
},
2763
2763
"type": "array"
2764
2764
},
2765
2765
"administrativeArea": {
2766
-
"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (For example \"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example in Switzerland this should be left unpopulated.",
2766
+
"description": "Optional. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. For Spain, this is the province and not the autonomous community (for example,\"Barcelona\" and not \"Catalonia\"). Many countries don't use an administrative area in postal addresses. For example, in Switzerland, this should be left unpopulated.",
2767
2767
"type": "string"
2768
2768
},
2769
2769
"languageCode": {
2770
2770
"description": "Optional. BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. If this value is not known, it should be omitted (rather than specifying a possibly incorrect default). Examples: \"zh-Hant\", \"ja\", \"ja-Latn\", \"en\".",
2771
2771
"type": "string"
2772
2772
},
2773
2773
"locality": {
2774
-
"description": "Optional. Generally refers to the city/town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave locality empty and use address_lines.",
2774
+
"description": "Optional. Generally refers to the city or town portion of the address. Examples: US city, IT comune, UK post town. In regions of the world where localities are not well defined or do not fit into this structure well, leave `locality` empty and use `address_lines`.",
2775
2775
"type": "string"
2776
2776
},
2777
2777
"organization": {
2778
2778
"description": "Optional. The name of the organization at the address.",
2779
2779
"type": "string"
2780
2780
},
2781
2781
"postalCode": {
2782
-
"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (For example state/zip validation in the U.S.A.).",
2782
+
"description": "Optional. Postal code of the address. Not all countries use or require postal codes to be present, but where they are used, they may trigger additional validation with other parts of the address (for example, state or zip code validation in the United States).",
2783
2783
"type": "string"
2784
2784
},
2785
2785
"recipients": {
@@ -2799,11 +2799,11 @@ false
2799
2799
"type": "integer"
2800
2800
},
2801
2801
"sortingCode": {
2802
-
"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (For example \"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (For example C\u00f4te d'Ivoire).",
2802
+
"description": "Optional. Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like \"CEDEX\", optionally followed by a number (for example,\"CEDEX 7\"), or just a number alone, representing the \"sector code\" (Jamaica), \"delivery area indicator\" (Malawi) or \"post office indicator\" (C\u00f4te d'Ivoire).",
2803
2803
"type": "string"
2804
2804
},
2805
2805
"sublocality": {
2806
-
"description": "Optional. Sublocality of the address. For example, this can be neighborhoods, boroughs, districts.",
2806
+
"description": "Optional. Sublocality of the address. For example, this can be a neighborhood, borough, or district.",
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json
+40-1
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,45 @@
171
171
"scopes": [
172
172
"https://www.googleapis.com/auth/content"
173
173
]
174
+
},
175
+
"patch": {
176
+
"description": "Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.",
"description": "Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`.",
186
+
"location": "query",
187
+
"type": "string"
188
+
},
189
+
"name": {
190
+
"description": "Identifier. The name of the product input. Format: `\"{productinput.name=accounts/{account}/productInputs/{productinput}}\"` where the last section `productinput` consists of 4 parts: channel~content_language~feed_label~offer_id example for product input name is \"accounts/123/productInputs/online~en~US~sku123\"",
"description": "Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"*\" value for full product replacement is not supported.",
0 commit comments