Skip to main content

Order discounts set

Event Type: com.futureordering.order.discounts_set

Sent when discounts are applied to an order after its basket has been modified.

Schema (Version 1)

tenantIdstringrequired
orderIdstringrequired
versionIdstringrequired
storeIdstringrequired
userIdstringrequired
transactionIdsstring[]required
Array items:
orderTypeIdstringrequired
salesChannelTypestringrequired
collectionDetailTypestringrequired

Example Event

{
  "specversion": "1.0",
  "data": {
    "tenantId": "tenant",
    "orderId": "zohVJR46cx",
    "versionId": "33",
    "storeId": "21",
    "userId": "b63e1ea1-129d-4f33-a2e0-a4b45a5398e7",
    "transactionIds": [],
    "orderTypeId": "eatin",
    "salesChannelType": "browser",
    "collectionDetailType": "pickup"
  },
  "dataContentType": "application/json",
  "id": "c3db8281-5e03-4608-a597-8afb3c8d7bde",
  "source": "https://api.futureordering.com",
  "time": "2026-02-26T14:32:02.9140538+00:00",
  "type": "com.futureordering.order.discounts_set"
}
info

The event schema can be downloaded from the events index page.