The 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 | 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
{
"_id": "655b33aa2209e60b6adb87a7",
"membershipOffers": [
{ "label": "top_50", "value": "50", "_id": "655b33aa2209e60b6adb87a7" }
],
"variantOptionIds": ["h4z7u0im2q8", "h3nst2ltsnn"],
"locationId": "3SwdhCsvxI8Au3KsPJt6",
"product": "655b33a82209e60b6adb87a5",
"userId": "6YAtzfzpmHAdj0e8GkKp",
"name": "Red / S",
"type": "one_time",
"currency": "INR",
"amount": 199999,
"createdAt": "2023-11-20T10:23:38.645Z",
"updatedAt": "2024-01-23T09:57:04.852Z"
}
- Price Create — fires when a new price is added
- Products API — create, retrieve, and manage products and prices programmatically
Last modified on March 5, 2026