younifyd
Menu

Delete a voucher criterion

Delete a voucher criterion

DELETE/shops/{shopKey}/countries/{countryCode}/vouchers/{voucherId}/criteria/{voucherCriterionId}

Use it in a workflow

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

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

voucherIdintegerrequired

The voucher ID.

voucherCriterionIdintegerrequired

The voucher criterion ID.

Response

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

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

Was this page helpful?
Delete a voucher criterion — SCAYLE Admin — Documentation