1. Help for Partners
  2. All POS vendor events

Upon Order pre-processed

Since: v3.4

When a pre-processing request for an order has been submitted by an App.

EVENT order_preprocess

Parameters

Example

Event

{
    "event": "order_preprocess",
    "data": {
      "id": "f77011a6-f4f9-4fe7-ba75-5319c3e59916",
      "status": "pending",
      "appId": "1234",
      "order": {
        "type":"pickup",
        "surcounts": [],
        "items":[{
          "name":"Toasted Sourdough Bread & Eggs",
          "description":"Just ye old classic",
          "unitPrice":"1100",
          "totalBeforeSurcounts":"1100",
          "totalAfterSurcounts":"1100",
          "posId":"toasted_eggs",
          "quantity":1,
          "type": "single", 
          "surcounts": [],
          "options": []
        }]
      }
    }
}