Lists the statuses of the products in your Merchant Center account. Try it now.
Request
HTTP request
GET https://www.googleapis.com/content/v2/merchantId/productstatuses
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
merchantId |
unsigned long |
The ID of the account that contains the products. This account cannot be a multi-client account. |
Optional query parameters | ||
destinations |
string |
If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. |
includeAttributes |
boolean |
Flag to include full product data in the results of the list request. The default value is false. |
includeInvalidInsertedItems |
boolean |
Flag to include the invalid inserted items in the result of the list request. By default the invalid items are not shown (the default value is false). |
maxResults |
unsigned integer |
The maximum number of product statuses to return in the response, used for paging. |
pageToken |
string |
The token returned by the previous request. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/content |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "content#productstatusesListResponse", "nextPageToken": string, "resources": [ productstatuses Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
Identifies what kind of resource this is. Value: the fixed string "content#productstatusesListResponse" . |
|
nextPageToken |
string |
The token for the retrieval of the next page of products statuses. | |
resources[] |
list |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.