ReDoc documentation

carts/{cartId}/coupons/{couponCode}

carts/{cartId}/coupons/{couponCode}

put/V1/carts/{cartId}/coupons/{couponCode}

Adds a coupon by code to a specified cart.

Request
path Parameters
cartId
required
integer

The cart ID.

couponCode
required
string

The coupon code data.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
true