How to get the product catalog associated to a product set

Creating a product set requires associating a product_catalog_id:

POST https://graph.facebook.com/<API_VERSION>/<PRODUCT_CATALOG_ID>/product_sets

Reading an product set having the Facebook id is easy:

GET https://graph.facebook.com/<API_VERSION>/<PRODUCT_SET_ID>

Unfortunately, the response for that request contains 3 fields (id, name and filter).

How can I get the product_catalog_id associated to a product set (if I know the product_set_id)?

PS: The documentation does not help with that: https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/product-catalog#productset


Source: facebook

Leave a Reply