Set a cart's referral attribution
Records which approved referral program and referrer the purchase is attributed to; fees frozen at quote time use it. Requires an API key with cart:write, or a cart session token bound to this cart. Non-empty attribution needs referrer_id and program_ref, otherwise 422. Send {} to clear it.
PUT
Set a cart's referral attribution
Headers
Body
application/json
Response
Successful Response
A shopper cart: one market and currency, lines grouped by merchant connection.