- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- AccountsUpdateLabelsRequest
- Try it!
Updates labels that are assigned to the Merchant Center account by CSS user.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/accounts/{accountId}/updatelabels
Path parameters
| Parameters | |
|---|---|
| merchantId | 
 The ID of the managing account. | 
| accountId | 
 The ID of the account whose labels are updated. | 
Request body
The request body contains an instance of AccountsUpdateLabelsRequest.
Response body
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "kind": string } | 
| Fields | |
|---|---|
| kind | 
 Identifies what kind of resource this is. Value: the fixed string " | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
AccountsUpdateLabelsRequest
| JSON representation | 
|---|
| { "labelIds": [ string ] } | 
| Fields | |
|---|---|
| labelIds[] | 
 The IDs of labels that should be assigned to the account. |