Get product counts for a Product Group
GET {{baseUrl}}/catalogs/product_groups/:product_group_id/product_counts?ad_account_id=15266090296
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":"\u003cnumber\u003e","out_of_stock":"\u003cnumber\u003e","preorder":"\u003cnumber\u003e","total":"\u003cnumber\u003e"}