Get product counts

GET {{baseUrl}}/catalogs/product_groups/:product_group_id/product_counts?ad_account_id=91255

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.

Learn more

Request Params

KeyDatatypeRequiredDescription
ad_account_idnumberUnique identifier of an ad account.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"in_stock":97203484.38756141,"out_of_stock":14594411.991969425,"preorder":96418449.57078272,"total":71010638.31073388}