Delete Product Collection
curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/product-collections/{productCollectionId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"code": 400,
"key": "resource_in_use",
"message": "Resource in use",
"details": "Resource products_collection with id pc_41V4DiQQO8YGqj0J2oZD57j4 is in use by validation_ruless with ids [val_9TB89AjZeVEJ]",
"request_id": "v-0ae3a63aff940ed1b2",
"related_object_ids": [
"val_9TB89AjZeVEJ"
],
"related_object_type": "validation_rules"
}Delete Product Collection
This method deletes a product collection.
DELETE
/
v1
/
product-collections
/
{productCollectionId}
Delete Product Collection
curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/product-collections/{productCollectionId} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"code": 400,
"key": "resource_in_use",
"message": "Resource in use",
"details": "Resource products_collection with id pc_41V4DiQQO8YGqj0J2oZD57j4 is in use by validation_ruless with ids [val_9TB89AjZeVEJ]",
"request_id": "v-0ae3a63aff940ed1b2",
"related_object_ids": [
"val_9TB89AjZeVEJ"
],
"related_object_type": "validation_rules"
}Last modified on February 24, 2026
Was this page helpful?
⌘I

