Skip to main content
POST
Create a cart

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

authorization
string | null
x-ignite-app-id
string | null

Body

application/json
shopper_ref
string
required

Your stable, non-personal reference for the shopper. Do not send names or emails.

Required string length: 1 - 120
Example:

"shopper_8f3a1c"

country
string | null

ISO 3166-1 alpha-2 market country. Omit to use the platform default market (AE). The market fixes the cart currency; baskets are domestic and single-currency.

Pattern: ^[A-Z]{2}$
Example:

"AE"

Response

Successful Response

A shopper cart: one market and currency, lines grouped by merchant connection.

attribution
Attribution · object
required

Referral attribution, or {} when none is recorded.

country
string
required

ISO 3166-1 alpha-2 market country.

coupon_codes
Coupon Codes · object
required

Coupon codes keyed by merchant connection_id.

currency
string
required

ISO 4217 currency for every amount in this cart.

custom_fields
Custom Fields · object
required

Custom field values, or {}.

id
string
required

Cart identifier.

merchant_groups
CartMerchantGroup · object[]
required

Cart lines grouped by merchant connection.

review_reasons
CartReviewReason · object[]
required

Changes awaiting shopper review; empty unless status is requires_review.

shipping_address
Shipping Address · object
required

Delivery address, or {} until one is set.

shopper_ref
string
required

Your non-personal shopper reference.

status
enum<string>
required

open accepts changes and quotes; requires_review needs accept-review after price or stock changes; submitted has a purchase; closed is no longer usable.

Available options:
open,
requires_review,
submitted,
closed
version
integer
required

Increases on every change; a quote is valid only for its version.