cURL
curl --request POST \ --url https://v3.minestorecms.com/api/cart/removeReferral \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "<string>" }
Removes any existing referral code from the user’s cart. If no referral code is set, an appropriate message is returned.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully removed the referral code from the cart.
Indicates if the referral code was successfully removed.
A message indicating the result of the referral code removal.