v1

latestOpenAPI 3.1.12026-07-222968170.1 KB
customers

post/v2/customers/{merchant_id}/claimed_rewards/{claimed_reward_id}/refund

Path parameters

merchant_idstring required

The ID of the customer in your platform or ecommerce store

claimed_reward_idnumber required

The ID of the claimed reward to refund

Response

200

remote_resource_deletedboolean required

Indicates if the redeemable resource associated with this reward was also deleted from the remote system. This will only be true if LoyaltyLion manages the resource. For example, when refunding a voucher-based reward with a Shopify store LoyaltyLion will also delete the voucher in Shopify

Example response

{
  "claimed_reward": {
    "redeemable": {
      "currency": "usd"
    }
  }
}