ReDoc documentation

guest-carts/{cartId}/coupons/{couponCode}

guest-carts/{cartId}/coupons/{couponCode}

Add a coupon by code to a specified cart.

Request
path Parameters
cartId
required
string

The cart ID.

couponCode
required
string

The coupon code data.

Responses
200

200 Success.

400

400 Bad Request

default

Unexpected error

put/V1/guest-carts/{cartId}/coupons/{couponCode}
Response samples
true