Endpoints
The Catalog API is a collection of the following endpoints:- Create a New Catalog: Creates a new catalog with a unique name.
- Add Catalog Attributes: Adds new attributes to the catalog.
- Ingest Items into the Catalog: Ingests items into an existing catalog.
- Update Existing Items: Updates items with new attribute values.
- Delete Existing Items: Deletes existing items in a given catalog.
- Get Item Details: Retrieve item attribute details.
FAQs
Catalog Management
What happens if I try to create a catalog with a name that already exists?
What happens if I try to create a catalog with a name that already exists?
409 Conflict error with the error code duplicate-catalog-name. Catalog names must be unique within your workspace.Can I add new attributes to a catalog after it has been created?
Can I add new attributes to a catalog after it has been created?
duplicate-item-attributes array in the response.What is the maximum number of custom attributes I can define?
What is the maximum number of custom attributes I can define?
What are the benefits of using the API catalog over a file-based catalog?
What are the benefits of using the API catalog over a file-based catalog?
What are the error codes?
What are the error codes?
Is it possible to change the data type of an attribute once an API catalog is created?
Is it possible to change the data type of an attribute once an API catalog is created?
How many attributes can I add to a catalog?
How many attributes can I add to a catalog?
Can I add a new attribute in payload while sending updates for existing items?
Can I add a new attribute in payload while sending updates for existing items?
What happens if my payload consist of items which are not in catalog?
What happens if my payload consist of items which are not in catalog?
Item Ingestion and Updates
How does the API handle partial failures during bulk ingestion?
How does the API handle partial failures during bulk ingestion?
200 OK with a detailed breakdown. The response body will include a valid count and an invalid count with a details array specifying which document_ids failed and why (e.g., data type mismatch or missing attributes).Can I update an item ID?
Can I update an item ID?
id is the primary key. To change an ID, you must delete the existing item and ingest it as a new item.Is there a limit to how many items I can delete at once?
Is there a limit to how many items I can delete at once?
How long does it take to reflect the newly added items or updates in MoEngage
How long does it take to reflect the newly added items or updates in MoEngage
Get Item Details
What are the error codes?
What are the error codes?
Can I change the data type of an attribute once an API catalog is created?
Can I change the data type of an attribute once an API catalog is created?