Delete voucher
DELETE
/shops/{id}/vouchers/{voucher_id}
const url = 'https://example.com/shops/example/vouchers/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/shops/example/vouchers/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
voucher_id
required
string