Method: VoucherifySdk::RedemptionsApi#redeem_stacked_discounts
- Defined in:
- lib/VoucherifySdk/api/redemptions_api.rb
#redeem_stacked_discounts(opts = {}) ⇒ RedemptionsRedeemResponseBody
Redeem Stackable Discounts # How API returns calculated discounts and order amounts in the response In the table below, you can see the logic the API follows to calculate discounts and amounts: π Rollbacks You cant roll back a child redemption. When you call rollback on a stacked redemption, all child redemptions will be rolled back. You need to refer to a parent redemption ID in your rollback request. π Also available on client-side This method is also accessible through public keys which you can use in client-sideβ apps: mobile and web browser apps. Go to the dedicated endpoint to learn more. - Use X-Client-Application-Id as the application ID header. - Use X-Client-Token as the appliction secret key header. - Use client-side base URL. - Use an origin header for your custom domain.
226 227 228 229 |
# File 'lib/VoucherifySdk/api/redemptions_api.rb', line 226 def redeem_stacked_discounts(opts = {}) data, _status_code, _headers = redeem_stacked_discounts_with_http_info(opts) data end |