Add a product to a catalog
Adds one product. retailerId is your SKU and stays the handle for later lookups and batch updates. For many products at once use POST /v1/ads/catalogs/{catalogId}/products/batch. Needs catalog_management on the Meta login.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Meta product catalog ID (from GET /v1/ads/catalogs)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
{ "product": { "id": "string", "retailerId": "string", "name": "string", "description": "string", "url": "string", "imageUrl": "string", "additionalImageUrls": [ "string" ], "price": "string", "salePrice": "string", "currency": "string", "availability": "string", "condition": "string", "brand": "string", "category": "string", "productType": "string", "gtin": "string", "inventory": 0, "visibility": "string", "color": "string", "size": "string", "gender": "string", "material": "string", "pattern": "string", "customLabels": [ "string" ], "reviewStatus": "string", "reviewRejectionReasons": [ "string" ] }}Create a product set
A product set is a filter over the catalog, e.g. `{"retailer_id": {"is_any": ["sku-1", "sku-2"]}}` or `{"brand": {"i_contains": "acme"}}` (Meta's product set filter syntax).
Create a Meta product catalog
Creates a Meta Commerce catalog in the business portfolio (resolved like GET). The same catalog serves Advantage+ catalog ads, Instagram/Facebook Shops and the WhatsApp Business catalog: link it to a WhatsApp number with POST /v1/whatsapp/catalogs. Needs catalog_management on the Meta login.