DiscountsAPI
API
The API for interacting with discounts.
Anchor to orderstatusapiOrderStatusApi
The API object provided to this and other customer-account.order-status
extension targets.
Anchor to discountAllocations
discountAllocations
StatefulRemoteSubscribable<[]>
required
Discounts that have been applied to the entire cart.
Anchor to discountCodes
discountCodes
StatefulRemoteSubscribable<[]>
required
A list of discount codes applied to the purchase.
Was this section helpful?
Anchor to useDiscountAllocationsuse Discount Allocations()
use Discount Allocations()
Returns the current discount allocations applied to the cart.
[]
Was this section helpful?
Anchor to useDiscountCodesuse Discount Codes()
use Discount Codes()
Returns the current discount codes applied to the cart.
[]
Was this section helpful?