Update Basket - Fulfillment Details

Update the fulfillment type and its associated parameters, and/or the requested fulfillment time.

Path Params
string
required

accountId is the unique identifier of the customer account in Deliverect

string
required
Body Params

Fulfillment details to set on the basket.

string
enum
required

Types of orders to be included inside the fulfillment object. These are the allowed values:

  • pickup - Takeaway orders
  • delivery - For delivery orders (including those handled by 3rd party dispatch platforms)
  • eatIn - Orders consumed on premises (dine-in)
  • curbside - Pickup orders handed over to the customer at the curb, outside the store
  • driveThru - Orders collected by the customer at the store's drive-thru
Allowed:
date-time

Timestamp in UTC, yyyy-MM-ddTHH:mm:ss.SSSSSSZ. All time values in our API are in UTC time as per ISO8601.

(For delivery, pickup, and any non-ASAP order.)

Required if type is delivery or pickup.

address
object

Delivery address information for the order.

Required if type is delivery and the store is managing its own delivery or using integrated dispatch services via Deliverect.

string | null
enum

How a delivery order is handed over to the guest. Delivery only; omit or send null if not captured. Passed to the order as deliveryInfo.dropoffType.

  • curbside - Handed over at the curb
  • leaveatdoor - Contactless, left at the door
  • door - Handed to the guest at the door
Allowed:
string

Comments relevant to order collection, e.g. the make of car for curbside orders.

Required if type is pickup or curbside.

string

Identifier of the dining spot, such as a table number.

Required if type is eatIn.

Responses

409

Conflict — a concurrent update to the basket was detected

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json