Get Discounts
Gets applicable discounts for a transaction. The discounts are categorized as
1) Transaction-level discounts: Applied on the whole transaction. For example, if the transaction is for $100, the discount is applied by percentage or amount to the whole transaction amount. This category includes tier-specific discounts.
2) Item-level discounts: Applied on specific SKU so that discount percentage or amount is applied to specific product (regardless of the quantity).
3) Miscellaneous discounts - This category captures all other types of discounts.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Profile ID of member
External reference of the store where the transaction occurred
1
Transaction timestamp (UTC format)
Tax amount
Gross amount of the transaction (before discount)
Net amount of the transaction (after discount).
Response
Response of the Discounts API
Status of the call
Message corresponding to the call
Error details, if applicable
Was this page helpful?