Loyalty Checkout Discount Object


A loyalty checkout discount represents a discount applied to a checkout using loyalty rewards, coupons, or referral rewards.

Properties
idstringRead-onlyformat GUID

Loyalty checkout discount ID.


checkoutIdstringformat GUID

ID of the checkout this discount is applied to.


statusstringRead-only

Current status of the discount.

  • UNKNOWN: Status is unknown or not specified.
  • APPLIED: Discount has been applied to the checkout.
  • IN_PROGRESS: Discount application is in progress.
  • COMPLETED: Discount has been successfully completed.
  • REFUNDED: Discount has been refunded.
  • FAILED_TO_REFUND: Attempt to refund the discount failed.
  • REFUNDED_DUE_TO_TIMEOUT: Discount was refunded due to a timeout.
  • REFUNDED_DUE_TO_MANUAL_DISCOUNT_REMOVAL: Discount was refunded due to manual removal.
  • SCHEDULED_FOR_REFUND: Discount is scheduled for refund.
  • UNUSED: Discount was not used.

discountTypestringRead-only

The type of discount applied.

  • UNKNOWN: Discount type is unknown or not specified.
  • DISCOUNT_AMOUNT: A discount from a flexible reward.
  • LOYALTY_COUPON: A discount from a redeemed loyalty program coupon.
  • COUPON_REWARD: A discount from a coupon reward that has not yet been redeemed.
  • REFERRAL_REWARD: A discount from a referral reward.

ONE OF:

rewardIdstringformat GUID

ID of the loyalty reward used for this discount.


loyaltyCouponIdstringformat GUID

ID of the loyalty coupon used for this discount.


referralRewardIdstringformat GUID

ID of the referral reward used for this discount.

Was this helpful?
Yes
No