|
180 | 180 | "https://www.googleapis.com/auth/content"
|
181 | 181 | ]
|
182 | 182 | },
|
183 |
| - "getAutomaticImprovements": { |
184 |
| - "description": "Retrieves the automatic improvements of an account.", |
185 |
| - "flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", |
186 |
| - "httpMethod": "GET", |
187 |
| - "id": "merchantapi.accounts.getAutomaticImprovements", |
188 |
| - "parameterOrder": [ |
189 |
| - "name" |
190 |
| - ], |
191 |
| - "parameters": { |
192 |
| - "name": { |
193 |
| - "description": "Required. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`", |
194 |
| - "location": "path", |
195 |
| - "pattern": "^accounts/[^/]+/automaticImprovements$", |
196 |
| - "required": true, |
197 |
| - "type": "string" |
198 |
| - } |
199 |
| - }, |
200 |
| - "path": "accounts/v1beta/{+name}", |
201 |
| - "response": { |
202 |
| - "$ref": "AutomaticImprovements" |
203 |
| - }, |
204 |
| - "scopes": [ |
205 |
| - "https://www.googleapis.com/auth/content" |
206 |
| - ] |
207 |
| - }, |
208 | 183 | "list": {
|
209 | 184 | "description": "Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an MCA, but all accounts the calling user has access to including other MCAs, linked accounts, standalone accounts and so on. If no filter is provided, then it returns all the accounts the user has access to. This method is eventually consistent, meaning changes such as creating, updating an account or a change of relationships between accounts may not show up in the results immediately. Instead, these changes propagate over a short period, after which the updated information can match the associated predicates. That means, that searching by account name might not return a recently changed account even though it satisfies the predicate.",
|
210 | 185 | "flatPath": "accounts/v1beta/accounts",
|
|
306 | 281 | "scopes": [
|
307 | 282 | "https://www.googleapis.com/auth/content"
|
308 | 283 | ]
|
309 |
| - }, |
310 |
| - "updateAutomaticImprovements": { |
311 |
| - "description": "Updates the automatic improvements of an account.", |
312 |
| - "flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", |
313 |
| - "httpMethod": "PATCH", |
314 |
| - "id": "merchantapi.accounts.updateAutomaticImprovements", |
315 |
| - "parameterOrder": [ |
316 |
| - "name" |
317 |
| - ], |
318 |
| - "parameters": { |
319 |
| - "name": { |
320 |
| - "description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", |
321 |
| - "location": "path", |
322 |
| - "pattern": "^accounts/[^/]+/automaticImprovements$", |
323 |
| - "required": true, |
324 |
| - "type": "string" |
325 |
| - }, |
326 |
| - "updateMask": { |
327 |
| - "description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.account_level_settings` - `image_improvements` - `image_improvements.account_level_settings` - `shipping_improvements` - `shipping_improvements.allow_shipping_improvements`", |
328 |
| - "format": "google-fieldmask", |
329 |
| - "location": "query", |
330 |
| - "type": "string" |
331 |
| - } |
332 |
| - }, |
333 |
| - "path": "accounts/v1beta/{+name}", |
334 |
| - "request": { |
335 |
| - "$ref": "AutomaticImprovements" |
336 |
| - }, |
337 |
| - "response": { |
338 |
| - "$ref": "AutomaticImprovements" |
339 |
| - }, |
340 |
| - "scopes": [ |
341 |
| - "https://www.googleapis.com/auth/content" |
342 |
| - ] |
343 | 284 | }
|
344 | 285 | },
|
345 | 286 | "resources": {
|
|
406 | 347 | }
|
407 | 348 | }
|
408 | 349 | },
|
| 350 | + "automaticImprovements": { |
| 351 | + "methods": { |
| 352 | + "getAutomaticImprovements": { |
| 353 | + "description": "Retrieves the automatic improvements of an account.", |
| 354 | + "flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", |
| 355 | + "httpMethod": "GET", |
| 356 | + "id": "merchantapi.accounts.automaticImprovements.getAutomaticImprovements", |
| 357 | + "parameterOrder": [ |
| 358 | + "name" |
| 359 | + ], |
| 360 | + "parameters": { |
| 361 | + "name": { |
| 362 | + "description": "Required. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`", |
| 363 | + "location": "path", |
| 364 | + "pattern": "^accounts/[^/]+/automaticImprovements$", |
| 365 | + "required": true, |
| 366 | + "type": "string" |
| 367 | + } |
| 368 | + }, |
| 369 | + "path": "accounts/v1beta/{+name}", |
| 370 | + "response": { |
| 371 | + "$ref": "AutomaticImprovements" |
| 372 | + }, |
| 373 | + "scopes": [ |
| 374 | + "https://www.googleapis.com/auth/content" |
| 375 | + ] |
| 376 | + }, |
| 377 | + "updateAutomaticImprovements": { |
| 378 | + "description": "Updates the automatic improvements of an account.", |
| 379 | + "flatPath": "accounts/v1beta/accounts/{accountsId}/automaticImprovements", |
| 380 | + "httpMethod": "PATCH", |
| 381 | + "id": "merchantapi.accounts.automaticImprovements.updateAutomaticImprovements", |
| 382 | + "parameterOrder": [ |
| 383 | + "name" |
| 384 | + ], |
| 385 | + "parameters": { |
| 386 | + "name": { |
| 387 | + "description": "Identifier. The resource name of the automatic improvements. Format: `accounts/{account}/automaticImprovements`.", |
| 388 | + "location": "path", |
| 389 | + "pattern": "^accounts/[^/]+/automaticImprovements$", |
| 390 | + "required": true, |
| 391 | + "type": "string" |
| 392 | + }, |
| 393 | + "updateMask": { |
| 394 | + "description": "Required. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `item_updates` - `item_updates.account_level_settings` - `image_improvements` - `image_improvements.account_level_settings` - `shipping_improvements` - `shipping_improvements.allow_shipping_improvements`", |
| 395 | + "format": "google-fieldmask", |
| 396 | + "location": "query", |
| 397 | + "type": "string" |
| 398 | + } |
| 399 | + }, |
| 400 | + "path": "accounts/v1beta/{+name}", |
| 401 | + "request": { |
| 402 | + "$ref": "AutomaticImprovements" |
| 403 | + }, |
| 404 | + "response": { |
| 405 | + "$ref": "AutomaticImprovements" |
| 406 | + }, |
| 407 | + "scopes": [ |
| 408 | + "https://www.googleapis.com/auth/content" |
| 409 | + ] |
| 410 | + } |
| 411 | + } |
| 412 | + }, |
409 | 413 | "businessIdentity": {
|
410 | 414 | "methods": {
|
411 | 415 | "getBusinessIdentity": {
|
|
1476 | 1480 | }
|
1477 | 1481 | }
|
1478 | 1482 | },
|
1479 |
| - "revision": "20250408", |
| 1483 | + "revision": "20250412", |
1480 | 1484 | "rootUrl": "https://merchantapi.googleapis.com/",
|
1481 | 1485 | "schemas": {
|
1482 | 1486 | "Accepted": {
|
|
0 commit comments