|
180 | 180 | "https://www.googleapis.com/auth/content"
|
181 | 181 | ]
|
182 | 182 | },
|
| 183 | + "getDeveloperRegistration": { |
| 184 | + "description": "Retrieves a developer registration for a merchant.", |
| 185 | + "flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration", |
| 186 | + "httpMethod": "GET", |
| 187 | + "id": "merchantapi.accounts.getDeveloperRegistration", |
| 188 | + "parameterOrder": [ |
| 189 | + "name" |
| 190 | + ], |
| 191 | + "parameters": { |
| 192 | + "name": { |
| 193 | + "description": "Required. The `name` (ID) of the developer registration.", |
| 194 | + "location": "path", |
| 195 | + "pattern": "^accounts/[^/]+/developerRegistration$", |
| 196 | + "required": true, |
| 197 | + "type": "string" |
| 198 | + } |
| 199 | + }, |
| 200 | + "path": "accounts/v1beta/{+name}", |
| 201 | + "response": { |
| 202 | + "$ref": "DeveloperRegistration" |
| 203 | + }, |
| 204 | + "scopes": [ |
| 205 | + "https://www.googleapis.com/auth/content" |
| 206 | + ] |
| 207 | + }, |
183 | 208 | "list": {
|
184 | 209 | "description": "Note: For the `accounts.list` method, quota and limits usage are charged for each user, and not for the Merchant Center ID or the advanced account ID. To list several sub-accounts, you should use the `accounts.listSubaccounts` method, which is more suitable for advanced accounts use case.",
|
185 | 210 | "flatPath": "accounts/v1beta/accounts",
|
|
536 | 561 | }
|
537 | 562 | }
|
538 | 563 | },
|
| 564 | + "developerRegistration": { |
| 565 | + "methods": { |
| 566 | + "registerGcp": { |
| 567 | + "description": "Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an \"API developer\" and add the \"developer_email\" as a contact with \"API notifications\" email preference on.", |
| 568 | + "flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration:registerGcp", |
| 569 | + "httpMethod": "POST", |
| 570 | + "id": "merchantapi.accounts.developerRegistration.registerGcp", |
| 571 | + "parameterOrder": [ |
| 572 | + "name" |
| 573 | + ], |
| 574 | + "parameters": { |
| 575 | + "name": { |
| 576 | + "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", |
| 577 | + "location": "path", |
| 578 | + "pattern": "^accounts/[^/]+/developerRegistration$", |
| 579 | + "required": true, |
| 580 | + "type": "string" |
| 581 | + } |
| 582 | + }, |
| 583 | + "path": "accounts/v1beta/{+name}:registerGcp", |
| 584 | + "request": { |
| 585 | + "$ref": "RegisterGCPRequest" |
| 586 | + }, |
| 587 | + "response": { |
| 588 | + "$ref": "DeveloperRegistration" |
| 589 | + }, |
| 590 | + "scopes": [ |
| 591 | + "https://www.googleapis.com/auth/content" |
| 592 | + ] |
| 593 | + }, |
| 594 | + "unregisterGcp": { |
| 595 | + "description": "Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.", |
| 596 | + "flatPath": "accounts/v1beta/accounts/{accountsId}/developerRegistration:unregisterGcp", |
| 597 | + "httpMethod": "POST", |
| 598 | + "id": "merchantapi.accounts.developerRegistration.unregisterGcp", |
| 599 | + "parameterOrder": [ |
| 600 | + "name" |
| 601 | + ], |
| 602 | + "parameters": { |
| 603 | + "name": { |
| 604 | + "description": "Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration`", |
| 605 | + "location": "path", |
| 606 | + "pattern": "^accounts/[^/]+/developerRegistration$", |
| 607 | + "required": true, |
| 608 | + "type": "string" |
| 609 | + } |
| 610 | + }, |
| 611 | + "path": "accounts/v1beta/{+name}:unregisterGcp", |
| 612 | + "request": { |
| 613 | + "$ref": "UnregisterGCPRequest" |
| 614 | + }, |
| 615 | + "response": { |
| 616 | + "$ref": "Empty" |
| 617 | + }, |
| 618 | + "scopes": [ |
| 619 | + "https://www.googleapis.com/auth/content" |
| 620 | + ] |
| 621 | + } |
| 622 | + } |
| 623 | + }, |
539 | 624 | "emailPreferences": {
|
540 | 625 | "methods": {
|
541 | 626 | "getEmailPreferences": {
|
|
1194 | 1279 | "type": "string"
|
1195 | 1280 | },
|
1196 | 1281 | "updateMask": {
|
1197 |
| - "description": "Optional. List of fields being updated. The following fields are supported (in both `snake_case` and `lowerCamelCase`): - `accept_defective_only` - `accept_exchange` - `item_conditions` - `policy` - `process_refund_days` - `restocking_fee` - `return_methods` - `return_policy_uri` - `return_shipping_fee`", |
| 1282 | + "description": "Optional. Only support updating the entire OnlineReturnPolicy message. For update_mask, always use `*`.", |
1198 | 1283 | "format": "google-fieldmask",
|
1199 | 1284 | "location": "query",
|
1200 | 1285 | "type": "string"
|
|
2226 | 2311 | }
|
2227 | 2312 | }
|
2228 | 2313 | },
|
2229 |
| - "revision": "20250628", |
| 2314 | + "revision": "20250710", |
2230 | 2315 | "rootUrl": "https://merchantapi.googleapis.com/",
|
2231 | 2316 | "schemas": {
|
2232 | 2317 | "About": {
|
|
3117 | 3202 | },
|
3118 | 3203 | "type": "object"
|
3119 | 3204 | },
|
| 3205 | + "DeveloperRegistration": { |
| 3206 | + "description": "Represents a developer registration owned by a Merchant account.", |
| 3207 | + "id": "DeveloperRegistration", |
| 3208 | + "properties": { |
| 3209 | + "gcpIds": { |
| 3210 | + "description": "Output only. The GCP ids attached to this developer registration", |
| 3211 | + "items": { |
| 3212 | + "type": "string" |
| 3213 | + }, |
| 3214 | + "readOnly": true, |
| 3215 | + "type": "array" |
| 3216 | + }, |
| 3217 | + "name": { |
| 3218 | + "description": "Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.", |
| 3219 | + "type": "string" |
| 3220 | + } |
| 3221 | + }, |
| 3222 | + "type": "object" |
| 3223 | + }, |
3120 | 3224 | "DisableProgramRequest": {
|
3121 | 3225 | "description": "Request message for the DisableProgram method.",
|
3122 | 3226 | "id": "DisableProgramRequest",
|
|
4107 | 4211 | "type": "array"
|
4108 | 4212 | },
|
4109 | 4213 | "label": {
|
4110 |
| - "description": "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.", |
| 4214 | + "description": "Optional. Immutable. This field represents the unique user-defined label of the return policy for the given country. It is important to note that the same label cannot be used in different return policies for the same country. If not given, policies will be automatically treated as the 'default' for the country. When using label, you are creating an exception policy in that country 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.", |
4111 | 4215 | "type": "string"
|
4112 | 4216 | },
|
4113 | 4217 | "name": {
|
|
4662 | 4766 | },
|
4663 | 4767 | "type": "object"
|
4664 | 4768 | },
|
| 4769 | + "RegisterGCPRequest": { |
| 4770 | + "description": "Request message for the RegisterGCP method.", |
| 4771 | + "id": "RegisterGCPRequest", |
| 4772 | + "properties": { |
| 4773 | + "developerEmail": { |
| 4774 | + "description": "Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have \"API developer\" access type and the email preference corresponding to that user will be updated to have the new \"API notifications\" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new \"API notifications\" preference", |
| 4775 | + "type": "string" |
| 4776 | + } |
| 4777 | + }, |
| 4778 | + "type": "object" |
| 4779 | + }, |
4665 | 4780 | "RejectAccountServiceRequest": {
|
4666 | 4781 | "description": "Request to reject an account service.",
|
4667 | 4782 | "id": "RejectAccountServiceRequest",
|
|
5153 | 5268 | "properties": {},
|
5154 | 5269 | "type": "object"
|
5155 | 5270 | },
|
| 5271 | + "UnregisterGCPRequest": { |
| 5272 | + "description": "Request message for the UnregisterGCP method.", |
| 5273 | + "id": "UnregisterGCPRequest", |
| 5274 | + "properties": {}, |
| 5275 | + "type": "object" |
| 5276 | + }, |
5156 | 5277 | "UriSettings": {
|
5157 | 5278 | "description": "URL settings for cart or checkout URL.",
|
5158 | 5279 | "id": "UriSettings",
|
|
0 commit comments