Skip to main content
POST
Submit a cart for purchase

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

Idempotency-Key
string | null

Required. A client-generated key that identifies this operation so it can be retried safely. Repeating the request with the same key and the same body returns the original result instead of performing the action again; reusing a key with a different body is rejected with 409. After a timeout or network error, retry with the same key, never a new one.

authorization
string | null
x-ignite-cart-token
string | null
x-ignite-app-id
string | null
origin
string | null

Path Parameters

cart_id
string
required

Body

application/json
approved_total_minor
integer
required

The exact quote total_minor the shopper approved, in integer minor units of the quote currency (for AED, 10050 = AED 100.50). Any other value is rejected with 409 approval_mismatch.

Example:

10050

quote_id
string
required

The active quote the shopper approved.

Example:

"quo_01J8ZK"

partial_order_policy
string
default:allow_partial

What happens if some merchants fail to accept their part of the order. Allowed values: allow_partial (keep the accepted merchant orders and refund the rest). New purchases accept only allow_partial; all_or_cancel appears only on historical purchases.

Example:

"allow_partial"

shopper_contact
Shopper Contact · object

Contact details passed to merchants for fulfilment and order notifications, for example email and phone.

Example:

Response

Successful Response