younifyd
Menu

Delete Loyalty Program

Delete Loyalty Campaign

DELETE/v1/loyalties/{campaignId}

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the Delete Loyalty Program action (under Loyalties).
  3. Fill in the fields below, then reference the result from later steps as {{deleteLoyaltyProgram.response.data}}.

Request

Path parameters

campaignIdstringrequired

The campaign ID or name of the loyalty campaign. You can either pass the campaign ID, which was assigned by Voucherify, or the `name` of the campaign as the path parameter value, e.g., `Loyalty%20Campaign`.

Query parameters

forceboolean

If this flag is set to `true`, the campaign and related vouchers will be removed permanently. If it is set to `false` or not set at all, the loyalty campaign and all related loyalty cards will be moved to the bin. Going forward, the user will be able to create the next campaign with the same name.

Response

Returns 200 with an object. Read it in later steps with {{deleteLoyaltyProgram.response.data.<field>}}.

Need more? See the Voucherify guide for connection setup and behaviour shared by every action.

Delete Loyalty Program — Voucherify — Documentation