Updating Fullfillment Type

Step 2: Indicate the Fulfilment Type

To fullfil orders, you must then specify the type and data of the fulfilment. Our Order Product supports the following types:

  • Delivery by Operator. The merchant themselves have a delivery driver and will be doing the delivery to the final customer
  • Delivery by Delivery Partner: The merchant uses a 3rd party service provider (e.g. JustEat, UberEats, Deliveroo, others) to deliver the order to the final customer
  • Collection by Customer: The customer will collect the order from the location
  • Order at Table: The customer is ordering at a table at the location
// POST to /ordering/v3/order/{orderId}/fulfillment-type/delivery-by-delivery-partner
{
    "collectionTime": "time the delivery partner will collect the order",
    "collectionNotes": "notes specified by the customer for the delivery driver",
    "name": "name of the driver picking up the order",
    "phone": "phone number of the driver picking up the order",
    "orderReference": "reference number from the delivery partner that will collect the order. used by the restaurant to know which order to give to the driver. will show up in the receipt",
    "kitchenNotes": "notes specified by the customer for the kitchen"
}
// POST to /ordering/v3/order/{orderId}/fulfillment-type/collection-by-customer
{
    "collectionTime": "time the customer will collect the order",
    "collectionNotes": "notes specified by the customer for collection",
    "name": "name of the customer",
    "phone": "phone number of the customer",
    "orderReference": "reference number used to collect the order. used by the restaurant to know which order to give to the customer. will show up in the receipt",
    "kitchenNotes": "notes specified by the customer for the kitchen"
}
// POST to /ordering/v3/order/{orderId}/fulfillment-type/delivery-by-operator
{
    "city": "city the customer lives in",
    "customerName": "name of the customer",
    "customerPhone": "phone number of the customer",
    "addressLineOne": "first line of the customer delivery address",
    "addressLineTwo": "second line of the customer delivery address",
    "postcode": "the post code for the customer delivery address",
    "deliveryTime": "time the delivery driver should deliver the order",
    "deliveryCharge": "any delivery charge to be applied to the order",
    "deliveryNotes": "notes left by the customer for the delivery driver",
    "kitchenNotes": "notes specified by the customer for the kitchen"
}
// POST to /ordering/v3/order/{orderId}/fulfillment-type/order-at-table
{
    "kitchenNotes": "notes specified by the customer for the kitchen",
    "tableNumber": "number of the table in the restaurant this order is being placed"
}

And the response

// 201 CREATED