POST
/
cart
/
setReferral

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ref_code
string
required

The referral code to be applied to the cart.

Response

200 - application/json
success
boolean

Indicates if the referral code was successfully applied.

message
string

A message indicating the result of the referral code application.