OverviewProductsPlatformsAPI ReferenceResources
Product Catalogs

Create, update or delete products in bulk

POSThttps://zernio.com/api/v1/ads/catalogs/{catalogId}/products/batch

Creates, updates or deletes up to 5,000 catalog products in one request, processed in the background by Meta.

Up to 5000 CREATE / UPDATE / DELETE requests keyed by retailerId, processed asynchronously by Meta. Returns handles; poll GET /v1/ads/catalogs/{catalogId}/batches/{handle} for the outcome and per-item errors. CREATE requests need name, url, imageUrl, price and currency.

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)

Body

application/json

What every request needs

accountIdstringRequired
requestsarray of objectRequired
methodstringRequiredOne of CREATE | UPDATE | DELETE
productobjectRequired
Optional parameters1 field
catalogAccountIdstring

Responses

Success· the request worked

Errors· the request failed

POST/v1/ads/catalogs/{catalogId}/products/batch
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.productcatalogs.batchAdCatalogProducts({  path: {    catalogId: 'catalog_abc123',  },  body: {    accountId: 'account_abc123',    requests: [      {        method: 'CREATE',        product: {          retailerId: 'retailer_abc123',          name: 'Example',          description: 'Hello, world!',        },      },    ],  },});console.log(data);
{  "handles": [    "string"  ],  "statusUrl": "string"}
OpenAPI specification
Was this page helpful?