Skip to content

Commit 5787dd6

Browse files
feat(merchantapi): update the API
#### merchantapi:inventories_v1 The following keys were added: - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.type #### merchantapi:inventories_v1beta The following keys were added: - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.insert.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.localInventories.methods.list.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.insert.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.resources.regionalInventories.methods.list.parameters.productIdBase64UrlEncoded.type #### merchantapi:issueresolution_v1 The following keys were added: - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.description - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.location - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.type #### merchantapi:issueresolution_v1beta The following keys were added: - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.description - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.location - resources.issueresolution.methods.renderproductissues.parameters.productIdBase64UrlEncoded.type #### merchantapi:products_v1 The following keys were added: - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.type #### merchantapi:products_v1beta The following keys were added: - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.productInputs.methods.delete.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.productInputs.methods.patch.parameters.productIdBase64UrlEncoded.type - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.description - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.location - resources.accounts.resources.products.methods.get.parameters.productIdBase64UrlEncoded.type
1 parent a5d87a3 commit 5787dd6

12 files changed

+226
-6
lines changed

discovery/merchantapi-inventories_v1.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@
126126
"pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$",
127127
"required": true,
128128
"type": "string"
129+
},
130+
"productIdBase64UrlEncoded": {
131+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
132+
"location": "query",
133+
"type": "boolean"
129134
}
130135
},
131136
"path": "inventories/v1/{+name}",
@@ -151,6 +156,11 @@
151156
"pattern": "^accounts/[^/]+/products/[^/]+$",
152157
"required": true,
153158
"type": "string"
159+
},
160+
"productIdBase64UrlEncoded": {
161+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
162+
"location": "query",
163+
"type": "boolean"
154164
}
155165
},
156166
"path": "inventories/v1/{+parent}/localInventories:insert",
@@ -190,6 +200,11 @@
190200
"pattern": "^accounts/[^/]+/products/[^/]+$",
191201
"required": true,
192202
"type": "string"
203+
},
204+
"productIdBase64UrlEncoded": {
205+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
206+
"location": "query",
207+
"type": "boolean"
193208
}
194209
},
195210
"path": "inventories/v1/{+parent}/localInventories",
@@ -219,6 +234,11 @@
219234
"pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$",
220235
"required": true,
221236
"type": "string"
237+
},
238+
"productIdBase64UrlEncoded": {
239+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
240+
"location": "query",
241+
"type": "boolean"
222242
}
223243
},
224244
"path": "inventories/v1/{+name}",
@@ -244,6 +264,11 @@
244264
"pattern": "^accounts/[^/]+/products/[^/]+$",
245265
"required": true,
246266
"type": "string"
267+
},
268+
"productIdBase64UrlEncoded": {
269+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
270+
"location": "query",
271+
"type": "boolean"
247272
}
248273
},
249274
"path": "inventories/v1/{+parent}/regionalInventories:insert",
@@ -283,6 +308,11 @@
283308
"pattern": "^accounts/[^/]+/products/[^/]+$",
284309
"required": true,
285310
"type": "string"
311+
},
312+
"productIdBase64UrlEncoded": {
313+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
314+
"location": "query",
315+
"type": "boolean"
286316
}
287317
},
288318
"path": "inventories/v1/{+parent}/regionalInventories",
@@ -300,7 +330,7 @@
300330
}
301331
}
302332
},
303-
"revision": "20250804",
333+
"revision": "20251109",
304334
"rootUrl": "https://merchantapi.googleapis.com/",
305335
"schemas": {
306336
"Empty": {

discovery/merchantapi-inventories_v1beta.json

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@
126126
"pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$",
127127
"required": true,
128128
"type": "string"
129+
},
130+
"productIdBase64UrlEncoded": {
131+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
132+
"location": "query",
133+
"type": "boolean"
129134
}
130135
},
131136
"path": "inventories/v1beta/{+name}",
@@ -151,6 +156,11 @@
151156
"pattern": "^accounts/[^/]+/products/[^/]+$",
152157
"required": true,
153158
"type": "string"
159+
},
160+
"productIdBase64UrlEncoded": {
161+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
162+
"location": "query",
163+
"type": "boolean"
154164
}
155165
},
156166
"path": "inventories/v1beta/{+parent}/localInventories:insert",
@@ -190,6 +200,11 @@
190200
"pattern": "^accounts/[^/]+/products/[^/]+$",
191201
"required": true,
192202
"type": "string"
203+
},
204+
"productIdBase64UrlEncoded": {
205+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
206+
"location": "query",
207+
"type": "boolean"
193208
}
194209
},
195210
"path": "inventories/v1beta/{+parent}/localInventories",
@@ -219,6 +234,11 @@
219234
"pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$",
220235
"required": true,
221236
"type": "string"
237+
},
238+
"productIdBase64UrlEncoded": {
239+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
240+
"location": "query",
241+
"type": "boolean"
222242
}
223243
},
224244
"path": "inventories/v1beta/{+name}",
@@ -244,6 +264,11 @@
244264
"pattern": "^accounts/[^/]+/products/[^/]+$",
245265
"required": true,
246266
"type": "string"
267+
},
268+
"productIdBase64UrlEncoded": {
269+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
270+
"location": "query",
271+
"type": "boolean"
247272
}
248273
},
249274
"path": "inventories/v1beta/{+parent}/regionalInventories:insert",
@@ -283,6 +308,11 @@
283308
"pattern": "^accounts/[^/]+/products/[^/]+$",
284309
"required": true,
285310
"type": "string"
311+
},
312+
"productIdBase64UrlEncoded": {
313+
"description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
314+
"location": "query",
315+
"type": "boolean"
286316
}
287317
},
288318
"path": "inventories/v1beta/{+parent}/regionalInventories",
@@ -300,7 +330,7 @@
300330
}
301331
}
302332
},
303-
"revision": "20250727",
333+
"revision": "20251109",
304334
"rootUrl": "https://merchantapi.googleapis.com/",
305335
"schemas": {
306336
"CustomAttribute": {

discovery/merchantapi-issueresolution_v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@
215215
"required": true,
216216
"type": "string"
217217
},
218+
"productIdBase64UrlEncoded": {
219+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
220+
"location": "query",
221+
"type": "boolean"
222+
},
218223
"timeZone": {
219224
"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.",
220225
"location": "query",
@@ -268,7 +273,7 @@
268273
}
269274
}
270275
},
271-
"revision": "20250830",
276+
"revision": "20251109",
272277
"rootUrl": "https://merchantapi.googleapis.com/",
273278
"schemas": {
274279
"Action": {

discovery/merchantapi-issueresolution_v1beta.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@
215215
"required": true,
216216
"type": "string"
217217
},
218+
"productIdBase64UrlEncoded": {
219+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
220+
"location": "query",
221+
"type": "boolean"
222+
},
218223
"timeZone": {
219224
"description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.",
220225
"location": "query",
@@ -268,7 +273,7 @@
268273
}
269274
}
270275
},
271-
"revision": "20250830",
276+
"revision": "20251109",
272277
"rootUrl": "https://merchantapi.googleapis.com/",
273278
"schemas": {
274279
"Action": {

discovery/merchantapi-products_v1.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@
129129
"pattern": "^accounts/[^/]+/productInputs/[^/]+$",
130130
"required": true,
131131
"type": "string"
132+
},
133+
"productIdBase64UrlEncoded": {
134+
"description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
135+
"location": "query",
136+
"type": "boolean"
132137
}
133138
},
134139
"path": "products/v1/{+name}",
@@ -193,6 +198,11 @@
193198
"required": true,
194199
"type": "string"
195200
},
201+
"productIdBase64UrlEncoded": {
202+
"description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
203+
"location": "query",
204+
"type": "boolean"
205+
},
196206
"updateMask": {
197207
"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.",
198208
"format": "google-fieldmask",
@@ -230,6 +240,11 @@
230240
"pattern": "^accounts/[^/]+/products/[^/]+$",
231241
"required": true,
232242
"type": "string"
243+
},
244+
"productIdBase64UrlEncoded": {
245+
"description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.",
246+
"location": "query",
247+
"type": "boolean"
233248
}
234249
},
235250
"path": "products/v1/{+name}",
@@ -281,7 +296,7 @@
281296
}
282297
}
283298
},
284-
"revision": "20251104",
299+
"revision": "20251109",
285300
"rootUrl": "https://merchantapi.googleapis.com/",
286301
"schemas": {
287302
"AutomatedDiscounts": {

0 commit comments

Comments
 (0)