PriceDelete event fires when a price record is permanently removed from a product. Use this event to deactivate the corresponding price in external billing systems, remove it from storefront displays, or trigger alerts when a purchasable option is no longer available.
Payload
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier of the deleted price |
locationId | string | Sub-account ID where the price resided |
product | string | ID of the product this price belonged to |
userId | string | ID of the user who deleted the price |
name | string | Display name of the deleted price (e.g., "Red / S") |
type | string | Pricing model that was in use β one_time or recurring |
currency | string | ISO 4217 currency code (e.g., USD, INR) |
amount | number | Price amount at the time of deletion |
variantOptionIds | array | Variant option IDs this price had been linked to |
membershipOffers | array | Membership offers that had been linked to this price |
createdAt | string | ISO 8601 timestamp when the price was originally created |
updatedAt | string | ISO 8601 timestamp of the deletion action |
Example payload
Related
- Price Create β fires when a new price is added
- Products API β create, retrieve, and manage products and prices programmatically
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)