Skip to main content
PUT
Set an agent cart's coupon codes

Authorizations

Authorization
string
header
required

Shopper-bound downstream credential; never an MCP OAuth token.

Headers

authorization
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