younifyd
Menu

Delete Voucher

Delete Voucher

DELETE/v1/vouchers/{code}

Use it in a workflow

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

Request

Path parameters

codestringrequired

A unique **code** that identifies the voucher.

Query parameters

forceboolean

If this flag is set to `true`, the voucher will be removed permanently. If it is set to `false` or not set at all, the voucher will be moved to the bin. Going forward, the user will be able to create another voucher with exactly the same code.

Response

Returns 204 with a any. Read it in later steps with {{deleteVoucher.response.data.<field>}}.

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

Was this page helpful?