OverviewProductsPlatformsAPI ReferenceResources
Product Catalogs

List Meta product catalogs

GEThttps://zernio.com/api/v1/ads/catalogs

Lists the Meta product catalogs a business portfolio owns or has been shared, for catalog and shopping ads.

PlatformsMeta

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

A facebook, instagram, metaads or whatsapp account ID

catalogAccountIdstring

A facebook, instagram or metaads account whose Meta login carries catalog_management; its token is used instead of the account's own (needed for WhatsApp connections, whose token cannot manage catalogs).

adAccountIdstring

Meta ad account ID (act_...) whose owner business to list

businessIdstring

Meta business portfolio ID to list. When it is omitted and the Meta login can see several portfolios, the 400 carries details.businesses (id + name) so a client can offer the choice.

Responses

Success· the request worked

Errors· the request failed

How it behaves

Which business

The business comes from the first that applies:

  1. businessId
  2. the ad account's owner (adAccountId)
  3. the WhatsApp Business Account's owner, when accountId is a WhatsApp connection
  4. the only business the Meta login can see

Permission

Listing catalogs needs catalog_management on the Meta login. The permission is pending Meta App Review and is not requested on connect yet.

So most logins get the 403 below (Meta's code 100 "This application has not been approved to use this api"). Pass catalogAccountId naming a facebook, instagram or metaads connection whose Meta login already holds it.

Creating a catalog_sales ad from a known product set ID does not need it (see promotedObject.productSetId on POST /v1/ads/create).

GET/v1/ads/catalogs
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.productcatalogs.listAdCatalogs({  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "businessId": "string",  "catalogs": [    {      "id": "string",      "name": "string",      "vertical": "string",      "productCount": 0,      "businessId": "string"    }  ]}
OpenAPI specification
Was this page helpful?