OverviewProductsPlatformsAPI ReferenceResources
Product Catalogs

Create a product feed

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

Creates a product feed that imports a CSV, TSV or XML product file into a Meta catalog, on a schedule or on demand.

A feed pulls a CSV/TSV/XML product file from a URL. With schedule Meta fetches it on a cadence; without it, trigger fetches with POST /v1/ads/catalogs/{catalogId}/feeds/{feedId}/uploads.

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
namestring, max 100Required
Optional parameters2 fields
catalogAccountIdstring
scheduleobject
intervalstringRequiredOne of HOURLY | DAILY | WEEKLY
urlstring (uri)Required

Responses

Success· the request worked

Errors· the request failed

POST/v1/ads/catalogs/{catalogId}/feeds
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.productcatalogs.createAdCatalogFeed({  path: {    catalogId: 'catalog_abc123',  },  body: {    accountId: 'account_abc123',    name: 'Example',  },});console.log(data);
{  "feed": {    "id": "string",    "name": "string",    "productCount": 0,    "schedule": {      "interval": "string",      "url": "string",      "hour": 0,      "dayOfWeek": "string"    },    "createdTime": "string",    "latestUpload": {      "id": "string",      "url": "string",      "startTime": "string",      "endTime": "string",      "errorCount": 0,      "warningCount": 0,      "itemsDetected": 0,      "itemsDeleted": 0    }  }}
OpenAPI specification
Was this page helpful?