Delete loyalty reward
Deletes a loyalty reward by doing the following:
- Returns the loyalty points back to the loyalty account.
- If an order ID was specified when the reward was created (see CreateLoyaltyReward), it updates the order by removing the reward and related discounts.
You cannot delete a reward that has reached the terminal state (REDEEMED).
The ID of the loyalty reward to delete.
Any errors that occurred during the request.
curl https://connect.squareup.com/v2/loyalty/rewards/9f18ac21-233a-31c3-be77-b45840f5a810 \ -X DELETE \ -H 'Square-Version: 2021-05-13' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json'