Delete many product collections
DELETE /v2/product/collection
Endpoint for soft-deleting multiple product collections by their identifiers. Returns a status object summarizing which collections were successfully deleted and relevant metadata counts.
Request Body
{
"collectionIds": ["{{productCollectionId}}"]
}
Response Example
{
"deleted": {
"collection-id-1": true,
"collection-id-2": true
},
"metadata": {
"matchedCount": 2,
"deletedCount": 2,
"notDeletedCount": 0
}
}