Order Payload Example

{
  "destination": {
    "restaurantId": "b6c5ead5-c8db",
    "restaurantName": "Acme's Restaurant",
    "externalRestaurantId": "4625639831762123"
  },
  "payload": {
    "customer": {
      "customerName": "John Doe",
      "phoneNumber": "15552221234"
    },
    "order": {
      "serviceFee": 1.99,
      "driverComp": 0,
      "gratuity": 0,
      "deliveryFee": 0,
      "driverTip": 0,
      "items": [
        {
          "id": "item_id_1",
          "modifiers": [
            {
              "id": "modifier_id_1",
              "name": " Brioche Bun",
              "price": 4.20,
              "quantity": 1
            }
          ],
          "name": "Meat Burger Sandwich",
          "note": "Medium-Rare please",
          "price": 11.90,
          "quantity": 1,
          "total": 11.90
        }
      ],
      "orderNotes": "",
      "orderType": "PICKUP",
      "payment": {
        "status": "PAID"
      },
      "ready_by": "2024-05-29T12:50:36-0700",
      "subtotal": 18.09,
      "tax": 0.59,
      "total": 18.68
    }
  },
  "source": {
    "additionalInfo": "",
    "deliveryCompany": {
      "name": "your-channel"
    },
    "orderNumber": "3954956c677d",
    "placedOn": "2024-05-29T12:47:59-0700"
  }
}