Skip to main content
PUT
Set a cart's coupon codes

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

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
coupons
Coupons · object
required

Coupon codes keyed by merchant connection_id (from the cart's merchant_groups). Replaces all codes on the cart; merchants validate them when you request a quote.

Example:

Response

Successful Response