Skip to main content
POST
/
catalog
/
{catalog_id}
/
items
Ingest Items into the Catalog
curl --request POST \
  --url https://api-{dc}.moengage.com/v1/catalog/{catalog_id}/items \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "item-sku-123",
      "title": "Classic T-Shirt",
      "link": "https://example.com/products/item-123",
      "image_link": "https://example.com/images/item-123.jpg",
      "brand_attribute": "Super Tech",
      "in_stock": true,
      "price": 19.99
    }
  ]
}
'
{ "message": { "valid": { "count": 1 }, "invalid": { "count": 8, "details": [ { "error-id": "duplicate-item-ids", "message": "Item ids within a catalog must be unique. Please ensure your request contains unique item ids for the given catalog and try again.", "count": 1, "document_ids": [ "567890" ] }, { "error-id": "missing-mandatory-attributes", "message": "Your must include mandatory attributes: id, title, link, and image_link with string data type and try again.", "count": 1, "document_ids": [ "567890" ] }, { "error-id": "invalid-datatype-attribute", "message": "The provided item attribute {attribute name} with value {attribute value} can't be converted to the data type {data type} as defined in the catalog schema.", "count": 1, "document_ids": [ "7523675" ] }, { "error-id": "invalid-item-attribute", "message": "The provided item attribute is not part of the defined catalog schema. Please check your catalog schema and try again. Undefined attributes: shipping_price", "count": 2, "document_ids": [ "312", "8291379" ] } ] } } }

Rate Limit Information

Request limit: 100/min OR 1000/hr. You can ingest up to 50 items per request. Payload size limit: 5MB (only when Content-Length header is provided).

Authorizations

Authorization
string
header
required

Basic Authentication sends a Base64-encoded string containing your username and password.

You can obtain the username and password from the MoEngage Dashboard:

  1. Navigate to Settings > Account > APIs.
  2. Username: Copy the Workspace ID.
  3. Password: Copy the Catalog API key.

Path Parameters

catalog_id
string
required

The unique identifier for the catalog, obtained during catalog creation.

Body

application/json
items
object[]
required

An array of item objects to add to the catalog. Each item must contain the mandatory attributes (id, title, link, image_link).

Maximum array length: 50

Response

OK. The ingestion request was processed. The response body contains details on valid and invalid item counts.

message
object