Skip to main content
The ProductDelete event fires when a product is permanently deleted from a sub-account’s catalog. Use this event to remove the product from external storefronts, mark it as discontinued in inventory systems, or clean up associated price and media records in downstream services.

Payload

FieldTypeDescription
_idstringUnique identifier of the deleted product
locationIdstringSub-account ID where the product resided
namestringName of the deleted product
descriptionstringDescription of the deleted product
productTypestringProduct category type (e.g., PHYSICAL, DIGITAL, SERVICE)
availableInStorebooleanStorefront availability at the time of deletion
userIdstringID of the user who deleted the product
variantsarrayVariant dimensions that were defined on the product
mediasarrayMedia assets that were attached to the product
createdAtstringISO 8601 timestamp when the product was originally created
updatedAtstringISO 8601 timestamp of the deletion action

Example payload

{
  "_id": "655b33a82209e60b6adb87a5",
  "description": "This is a really awesome product",
  "variants": [
    {
      "id": "38s63qmxfr4",
      "name": "Size",
      "options": [{ "id": "h4z7u0im2q8", "name": "XL" }]
    }
  ],
  "locationId": "3SwdhCsvxI8Au3KsPJt6",
  "name": "Awesome Product",
  "productType": "PHYSICAL",
  "availableInStore": true,
  "userId": "6YAtzfzpmHAdj0e8GkKp",
  "createdAt": "2023-11-20T10:23:36.515Z",
  "updatedAt": "2024-01-23T09:57:04.846Z"
}
Last modified on March 4, 2026