Overview

Overview

Below is a high-level overview of the key Commerce API interactions, with a brief description of the role they play in supporting the complete ordering journey from store discovery through to POS order injection;

1

Discover Nearby Stores — GET /stores

Returns locations available, sorted by distance to the user's current location and filtered by preferred fulfilment type.

2

Select a Specific Store — GET /stores/{storeId}

Return locations available, sort by distance to the user's current location and filter by preferred fulfilment type.

3

Browse Menu Options — GET /stores/{storeId}/menus

Review the categories and options within the menu along with their pricing, images, description, metadata, etc.

4

Create a Basket and Choose a Fulfilment Type — POST /baskets

Specify the fulfilment type of Delivery/Dispatch, Pickup, Eat-in or Curbside; this establishes the fulfilment type and starts the order.

5

Add Items and Other Details to Get Updated Order Amount — PATCH /baskets/{basketId}/items

Update the basket as the user selects items, and with similar methods update user data /customer, apply loyalty or coupons /discounts, include tips /payment, and other order fees via /charges.

6

Capture Payment — Pay API

Proceed to process payment via Deliverect's Pay API (optional).

7

Complete the Order — POST v2/checkouts

Finalise the transaction and specify which payment method was used, along with the unique order identifier and any order notes, to trigger POS order injection.