curl --request DELETE \
--url https://apix.us.amity.co/api/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"prod-12345",
"prod-67890",
"prod-11111"
]
}
'{
"status": "success",
"data": {
"success": true
}
}Delete multiple products from the catalogue in a single request.
Access Control:
Important Notes:
curl --request DELETE \
--url https://apix.us.amity.co/api/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"productIds": [
"prod-12345",
"prod-67890",
"prod-11111"
]
}
'{
"status": "success",
"data": {
"success": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of product IDs to delete
1 - 100 elements1 - 100["prod-12345", "prod-67890", "prod-11111"]