/settings/checkout-recoveryUpdates the checkout recovery settings for your account.
Send only the fields that you want to change. Fields that you omit keep their current value. Pass null to clear discount and stop offering a discount.
If successful, your response includes a copy of the updated checkout recovery settings entity.
checkout_settings.write permission.Request body
null to stop offering one.percentage is the only kind.percentageDiscount is a percentage of the transaction total.
10Percentage taken off the transaction total, as a string containing a whole number from 1 to 100.
"10" means 10%.
^(100|[1-9][0-9]?)$Response (200)
null when no discount is offered.percentage is the only kind.percentageDiscount is a percentage of the transaction total.
10Percentage taken off the transaction total, as a string containing a whole number from 1 to 100.
"10" means 10%.
^(100|[1-9][0-9]?)$b15ec92e-8688-40d4-a04d-f44cbec93355{ "enabled": true, "discount": { "type": "percentage", "amount": "10" }}{ "data": { "enabled": true, "discount": { "type": "percentage", "amount": "10" } }, "meta": { "request_id": "d1a2f3b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b" }}