Skip to main content

Sync passes for all clients

POST

https://api-v2.test.eldowallet.fr/clients/sync-all

Rebuilds the loyalty card of every client in the wallet from their stored data, to bring installed cards back in line. Pass clientType to process only the clients of one type. Processing is asynchronous: the response only gives the number of clients to sync (clientsToSync).

Good to know
  • Clients are processed in batches of 100, each batch as a bulk update operation; the response returns no operation ID to track. Each client is handled like a PATCH /clients/{id} with unchanged data: the client.updated webhook fires and an update push notification may be sent, depending on your communication rules.

Request​

header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"
Body application/json required
  • clientType string
    Optional client type ID to filter clients to sync
    example: 507f1f77bcf86cd799439011

Responses​

Schema application/json
  • clientsToSync number required
    Number of clients queued for sync
    example: 150

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