Get product counts
GET {{baseUrl}}/catalogs/product_groups/:product_group_id/product_counts?ad_account_id=6342
Get a product counts for a given Catalogs Product Group owned by the operation user_account
.
- By default, the operation user_account
is the token user_account.
Optional: Business Access: Specify an adaccountid
(obtained via List ad accounts) to use the owner of that adaccount as the "operation useraccount. In order to do this, the token user_account must have one of the following https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts">Business Access roles on the ad_account: Owner, Admin, Catalogs Manager.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ad_account_id | number | Unique identifier of an ad account. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"in_stock":846615.1827619228,"out_of_stock":92799717.0019249,"preorder":64593330.42788871,"total":89581623.16423808}