Create a product feed
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.
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
{ "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 } }}Fetch a feed file now
Asks Meta to fetch the product file at `url` into the feed. Processing is asynchronous: read the outcome with GET uploads.
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).