OverviewProductsPlatformsAPI ReferenceResources
Product Catalogs

Delete a product catalog

DELETEhttps://zernio.com/api/v1/ads/catalogs/{catalogId}

Deletes a Meta product catalog and all its products, removing it from any ads or WhatsApp numbers that use it.

Ads and WhatsApp numbers that use it lose their catalog.

PlatformsMeta

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

catalogIdstringRequired

Meta product catalog ID (from GET /v1/ads/catalogs)

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 performs the call instead of the account's own

Responses

Success· the request worked

Errors· the request failed

DELETE/v1/ads/catalogs/{catalogId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.productcatalogs.deleteAdCatalog({  path: {    catalogId: 'catalog_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "success": true,  "catalogId": "string"}
OpenAPI specification
Was this page helpful?