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
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier of the deleted product |
locationId | string | Sub-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
Related
- Product Create — fires when a new product is added
- Products API — create, retrieve, and manage products programmatically
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)