The ProductDelete event fires when a product is permanently deleted from an 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
| Field | Type | Description |
|---|
_id | string | Unique identifier of the deleted product |
locationId | string | Account ID where the product resided |
name | string | Name of the deleted product |
description | string | Description of the deleted product |
productType | string | Product category type (e.g., PHYSICAL, DIGITAL, SERVICE) |
availableInStore | boolean | Storefront availability at the time of deletion |
userId | string | ID of the user who deleted the product |
variants | array | Variant dimensions that were defined on the product |
medias | array | Media assets that were attached to the product |
createdAt | string | ISO 8601 timestamp when the product was originally created |
updatedAt | string | ISO 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 5, 2026