Skip to main content

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.

Permanent Operation

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.

Integration Pre-requisites

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 supplierSku receive a completely new skuId
  • 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 deleted
  • supplierSku: Your internal identifier (can be reused for new products)
  • status: Confirmation of deletion
  • deletedAt: 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 supplierSku will receive a new skuId