Skip to main content

Delete a coupon

DELETE

https://api-v2.test.eldowallet.fr/coupons/:id/passes/:instanceId

Permanently deletes a sent coupon. On a multiple-instance template, this call deletes the whole template and all its coupons (see below).

Good to know
  • On a multiple-instance template (isMultipleInstance: true), this call deletes the whole template: every coupon sent from it and the template itself; the response is then the deleted template. On a single-instance template, only the targeted coupon is deleted and returned. Deletion is permanent.

Request​

path parameters
  • id string required
    Coupon template ID.
  • instanceId string required
    Instance ID of the coupon to delete (the client ID for a single-instance template).
header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"

Responses​

Schema application/json

API news, once a month

New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

Report a technical problem

An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

For a fast answer, include:

  • The method and endpoint (e.g. POST /clients)
  • The error code returned (errorCode) and the body sent
  • The date and time of the call
  • The identifiers involved (customer, template, pass)

Never include an API token or a password.

AI assistant

Beta

Loading…

AI-generated answers (Claude): double-check important details.

Sign in to use the assistant