Delete Items
curl --request POST \
--url https://api-{dc}.moengage.com/v1/catalog/{catalog_id}/items/bulk-delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'MOE-APPKEY: <moe-appkey>' \
--data '
{
"items": [
"{{item_ID}}"
]
}
'{
"message": {
"valid": {
"count": 0
},
"invalid": {
"count": 10
}
}
}Delete Items
This API deletes existing items in a given catalog.
POST
/
catalog
/
{catalog_id}
/
items
/
bulk-delete
Delete Items
curl --request POST \
--url https://api-{dc}.moengage.com/v1/catalog/{catalog_id}/items/bulk-delete \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'MOE-APPKEY: <moe-appkey>' \
--data '
{
"items": [
"{{item_ID}}"
]
}
'{
"message": {
"valid": {
"count": 0
},
"invalid": {
"count": 10
}
}
}Rate Limit
- Request limit: You can delete 100 items per minute OR 1000 items per hour. You can delete up to 50 items per request.
- Payload size limit: 5 MB only when Content-Length header is provided.
Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.
For more information on authentication and getting your credentials, refer here.
Headers
Path Parameters
Body
application/json