Skip to main content
PUT
Set a cart's referral attribution

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
attribution
Attribution · object

Referral attribution. When not empty it must contain referrer_id and program_ref naming an approved referral program. Send {} to clear attribution.

Example:

Response

Successful Response