Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The code for the coupon or gift card to apply.
Maximum length:
40
Response
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'.