Skip to main content
POST
Check out the current cart into an order

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string
required

Body

application/json
type
enum<string>
required
Available options:
RETAIL,
TRADE
Example:

"RETAIL"

addressId
string
required

Must be the id of one of the caller's saved addresses (GET /users/me/addresses).

Example:

"b6a1e2d4-8f3c-4a5b-9e2d-1f4c6a8b9d0e"

deliveryMethod
enum<string>
required
Available options:
STANDARD_DELIVERY,
NEXT_DAY_DELIVERY,
PICKUP
Example:

"STANDARD_DELIVERY"

paymentMethod
enum<string>
required
Available options:
STRIPE,
PAYPAL,
PAYSTACK,
INVOICE
Example:

"PAYSTACK"

recipientName
string

Defaults to the account holder's name — set this only when the order is for someone else.

Example:

"Jane Doe"

preferredLogisticsProvider
enum<string>

Preferred courier — omit for no preference (dispatch falls back to the platform default).

Available options:
DPD,
EVRI,
ROYAL_MAIL
usePoints
number

Loyalty points to spend on this order (2000 = £7.50; at least 500; at most the balance and what is left to pay — GET /cart/quote points.maxUsable). Comes off as rewardAmount. 400 if not allowed; no order is created.

Required range: x >= 500
Example:

800

Response

201 - application/json
id
string
required
orderNumber
string
required
date
string
required
status
enum<string>
required
Available options:
PENDING_PAYMENT,
CONFIRMED,
PROCESSING,
DISPATCHED,
DELIVERED,
CANCELLED,
REFUNDED
type
enum<string>
required
Available options:
RETAIL,
TRADE
items
object[]
required
bundles
object[]
required

Bundle packages bought, each at its bundle price

subtotalAmount
number
required

Items + bundles

deliveryAmount
number
required
rewardAmount
number
required

What loyalty points took off

pointsRedeemed
number
required

Loyalty points spent on this order

discountAmount
number
required

Taken off the subtotal by the discount applied at checkout

discounts
object[]
required

The discount(s) behind discountAmount — at most one today

totalAmount
number
required
deliveryInfo
object
required
orderInfo
object
required