Productstatuses: list

Requires authorization

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
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 (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

JSON

{
  "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

XML

<product_statuses>
  <next_page_token>
    string
  </next_page_token>
  (foreach)
    productstatuses Resource
  (/foreach)
</product_statuses>
Property name Value Description Notes
product_statuses object
product_statuses/next_page_token string The token for the retrieval of the next page of products statuses.
product_statuses/product_status nested object The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Content API for Shopping