Skip to main content
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

FieldTypeDescription
_idstringUnique identifier of the deleted price
locationIdstringSub-account ID where the price resided
productstringID of the product this price belonged to
userIdstringID of the user who deleted the price
namestringDisplay name of the deleted price (e.g., "Red / S")
typestringPricing model that was in use β€” one_time or recurring
currencystringISO 4217 currency code (e.g., USD, INR)
amountnumberPrice amount at the time of deletion
variantOptionIdsarrayVariant option IDs this price had been linked to
membershipOffersarrayMembership offers that had been linked to this price
createdAtstringISO 8601 timestamp when the price was originally created
updatedAtstringISO 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 4, 2026