Apply Coupon & Giftcard
Validates and applies a coupon or gift card to the user’s cart if eligible. Provides appropriate messages based on the coupon or gift card status.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The code for the coupon or gift card to apply.
40Response
Successfully applied the coupon or gift card.
Indicates if the coupon or gift card was successfully applied.
A message indicating the result of applying the coupon or gift card.
Discount percentage if a coupon was applied.
Discount amount if a coupon was applied.
The amount of the gift card used.
The type of the applied code, either 'coupon' or 'gift'.

