Enhance your cart by applying coupon codes to specific bags
id
: The unique identifier of the cart to which you want to apply the coupons.input
: An object containing the details of the bags and the coupon codes you want to apply.bags
: An array of CartApplyCouponInput
objects, each representing a bag and the coupon codes to be applied to it.bagId
: The unique identifier of the bag.couponCodes
: An array of coupon codes to be applied to the specified bag.COUPON10
and FREESHIP
are applied to the bag with ID bag_ZOX6W0BvVdghMRZP
, and the coupon code NEWUSER5
is applied to the bag with ID bag_ZOX6aEBvVdghMRZT
.