Create product group

POST {{baseUrl}}/catalogs/product_groups?ad_account_id=91255

Create product group to use in Catalogs 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.

Request Body

{"name"=>"cupidatat elit", "filters"=>{"any_of"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "feed_id"=>"2680059592705", "description"=>"proident eiusmod labore aliquip", "is_featured"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;filters&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;id&quot;:&quot;443727193917&quot;,&quot;feed_id&quot;:&quot;2680059592705&quot;,&quot;name&quot;:&quot;Most Popular&quot;,&quot;description&quot;:&quot;irure Lorem aliquip&quot;,&quot;is_featured&quot;:false,&quot;type&quot;:&quot;TOP_SELLERS&quot;,&quot;status&quot;:&quot;INACTIVE&quot;,&quot;created_at&quot;:1621350033000,&quot;updated_at&quot;:1622742155000}