Currently the webhook system for Orders handles two types of events. The Order and the Rider types events:

Order type events:

  • order-accepted
  • order-in-kitchen
  • order-ready-to-pick-up
  • order-picked-up
  • order-served
  • order-canceled

Rider type events:

  • rider-created
  • rider-picking
  • rider-delivering
  • rider-completed
  • rider-error
  • rider-proof-delivery
  • rider-refund

Event order-accepted


Sent to know that an order has been created.

APP SCOPE
ChannelPosRidersLoyalty
✖️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "order-accepted",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event order-in-kitchen


Sent to know that an order has been received by the POS and will be prepared.

APP SCOPE
ChannelPosRidersLoyalty
✔️✖️✔️✔️
WEBHOOK FORMAT
{
  "eventType": "order-in-kitchen",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event order-ready-to-pick-up


Sent to know that an order which the fulfillment.type is delivery-by-location is ready to be picked up.

APP SCOPE
ChannelPosRiderLoyalty
✔️✖️✔️✖️
WEBHOOK FORMAT
{
  "eventType": "order-ready-to-pick-up",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event order-picked-up


Sent to know that an order which the fulfillment.type is takeaway has been picked up by the customer.

APP SCOPE
ChannelPosRiderLoyalty
✔️✖️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "order-picked-up",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event order-served


Sent to know that an order which the fulfillment.type is order-at-table has been served to the customer.

APP SCOPE
ChannelPosRiderLoyalty
✔️✖️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "order-served",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event order-canceled


Sent to know that an order has been canceled.

APP SCOPE
ChannelPosRiderLoyalty
✖️✔️✔️✔️
WEBHOOK FORMAT
{
  "eventType": "order-canceled",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-created


Sent to know that an order has been take in charge for the delivery by a rider.

APP SCOPE
ChannelPosRiderLoyalty
✔️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-created",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-picking


Sent to know that a rider is on his way to the restaurant in order to pick the order.

APP SCOPE
ChannelPosRiderLoyalty
✔️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-picking",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-delivering


Sent to know that a rider is on his way to the customer in order to deliver the order.

APP SCOPE
ChannelPosRiderLoyalty
✔️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-delivering",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-completed


Sent to know that the delivery process of an order has been completed correctly.

APP SCOPE
ChannelPosRiderLoyalty
✔️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-completed",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-error


Sent to know that an error occurred during the process of delivery of an order.

APP SCOPE
ChannelPosRiderLoyalty
✔️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-error",
  "storeId": "string",
  "data": {
    "orderId": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated

Event rider-proof-delivery


Sent by some riders as proof that the order has been delivered.

APP SCOPE
ChannelPosRiderLoyalty
✔️✖️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-proof-delivery",
  "storeId": "string",
  "data": {
    "orderId": "string",
    "proofDelivery": "string"
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.orderIdThe orderId in which the status was updated
data.proofDeliveryThe proofDeliverystring.
UberDirect case: Long Base64 string that can be converted to a PNG image (Web Converter (External))

Event rider-refund


Sent by some riders, when for some reason the order is not delivered.

APP SCOPE
ChannelPosRiderLoyalty
✔️✖️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "rider-refund",
  "storeId": "string",
  "data": {
    "orderId": "string",
    "refund": {
      id: "string",
      date: "string",
      totalRiderRefund: "number",
      totalPartnerRefund: "number",
      reason: "string",
      refundItems:[
        {
          reason: "string",
          riderAmount: "number",
          partnerAmount: "number",
          partyAtFault: "string",
          items: [
            {
              name: "string",
              qty: "number"
          	},
          ]
      	},
      ],
      refundFees: [
        {
          name: "string",
          amount: "value",
          code: "string"
      	},
      ]
    }
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event.
storeIdThe storeId where the event occurred.
data.orderIdThe orderId in which the status was updated.
data.refundThe refund Data Object
data.refund.idThe refund identifier.
data.refund.dateRefund creation date.
data.refund.totalRiderRefundTotal monetary amount that Rider will adjust on the billing details report and invoice in cents.
data.refund.totalPartnerRefundTotal monetary amount that the partner is liable to their customers in cents.
data.refund.reasonRefund reason.
data.refund.refundItemsArray of refund items data Object
data.refund.refundItems.reasonRefund item reason.
data.refund.refundItems.riderAmountThe monetary value of items that Rider will adjust on the invoice in cents.
data.refund.refundItems.partnerAmountThe monetary value of items that the partner is liable towards their customers in cents.
data.refund.refundItems.partyAtFaultParty at fault.
data.refund.refundItems.itemsArray of items Object
data.refund.refundItems.items.nameRefund Item name.
data.refund.refundItems.items.qtyQuantity of the item.
data.refund.refundFeesArray of refund Fees data Object
data.refund.refundFees.nameRefund fee name.
data.refund.refundFees.amountRefund fee amount.
data.refund.refundFees.codeRefund fee Code.