Deleting Products
Permanently remove products from your Trustana catalog using a simple DELETE endpoint. Product deletion is irreversible and affects how future products with the same identifiers are handled.
Product deletion is irreversible. Once deleted, products cannot be recovered and any future products created with the same supplierSku will receive a new skuId. This has important implications for migration and replacement workflows.
Before deleting products, understand the critical considerations:
Permanent Deletion:
- Products are permanently removed from Trustana (no soft delete)
- All enrichment data, media associations, and attribute data are lost
- No recovery options are available after deletion
skuId Generation:
- New products with the same
supplierSkureceive a completely newskuId - No deduplication occurs - Trustana treats recreated products as entirely new
- Your systems must update all Trustana skuId references when replacing products
Migration Impact:
- Product replacement workflows require careful reference management
- Integration systems must handle skuId changes in replacement scenarios
- Testing is critical before performing bulk deletions or migrations
See Creating Products for recreating products and Getting Product Details for retrieving current skuId references.
Basic Product Deletion
Simple DELETE Request
Remove a product permanently using its Trustana skuId:
curl -X DELETE https://api.trustana.com/v1/products/{{skuId}} \
-H "X-API-Key: YOUR_API_KEY"
Success Response Example
{
"errorCode": 0,
"data": {
"skuId": "TR08295360",
"supplierSku": "TEST005",
"status": "deleted",
"deletedAt": 1759843157715
}
}
Response Fields:
skuId: The Trustana identifier that was deletedsupplierSku: Your internal identifier (can be reused for new products)status: Confirmation of deletiondeletedAt: Unix timestamp when deletion occurred
Deleting Variants
Simple DELETE Request
Remove a variant permanently using its Trustana skuId:
curl -X DELETE https://api.trustana.com/v1/variants/{{skuId}} \
-H "X-API-Key: YOUR_API_KEY"
Success Response Example
{
"errorCode": 0,
"data": {
"skuId": "TR08295361",
"supplierSku": "TEST005-RED",
"status": "deleted",
"deletedAt": 1759843157715
}
}
Variant Deletion Notes:
- Variants are deleted independently from their parent products
- Same irreversible deletion behavior as products
- New variants with the same
supplierSkuwill receive a newskuId