v1

latestOpenAPI 3.0.0Apache 2.02026-07-142008071.1 MB
Loyalty

DeleteLoyaltyReward

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).

delete/v2/loyalty/rewards/{reward_id}

Path parameters

reward_idstring required

The ID of the loyalty reward to delete.

Response

Success

Example response

{}