post https://api.splio.com/loyalty/v1/rewards/burn
Use a list of granted rewards
Error cases
Partially OK call (207)
See failure cases for Burn a reward attribution ⇒ most will result in a 207 here
{
"elements_success": [
{burn_detail_here}
],
"elements_error": [
{
"reward_id": "9701a96f-ee5",
"card_code": "4081110706088",
"description": "burn date should be before expiration date 2050-01-01 00:00:00",
"code": 400
}
],
"success_count": 2,
"errors_count": 1
}
store_id does not exist (404)
{
"status": 404,
"errors": {
"error_key": null,
"error": "not_found",
"error_description": "extid \"test_store_id\" not found in splio3_ecommerce.qa03_stores"
}
}