Skip to main content

Get coupon statistics for a template

GET

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

Returns two counters for a coupon template: the number of coupons sent (countOfSentCouponPasses) and the number of coupons added to a mobile wallet (countOfDownloadedPasses).

Good to know
  • countOfDownloadedPasses counts the coupons installed on at least one device. countOfSentCouponPasses counts every coupon of the template that still exists, whatever its status; deleted coupons are not counted.

Request​

path parameters
  • id string required
    Coupon template ID.
header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"

Responses​

Schema application/json
  • countOfDownloadedPasses number required
    Number of coupon passes that have been downloaded (active status)
    example: 6
  • countOfSentCouponPasses number required
    Number of coupon passes that have been sent (total active + inactive)
    example: 99

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