Skip to main content

Create a location

POST

https://api-v2.test.eldowallet.fr/wallet-locations

Adds a location to the wallet: latitude, longitude, and one text (relevantText) or texts per time slot (relevantTextList). Near this place, the loyalty card can appear on the lock screen with this text.

Good to know
  • At most 10 locations per wallet: beyond that, 400 MAX_WALLET_LOCATIONS_REACHED. The location is added to the loyalty card template without notifying holders. Each relevantTextList slot (startTime, endTime as HH:mm, at least 30 minutes) shows its relevantText during that time range.

Request​

header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"
Body application/json required
  • longitude number required
  • latitude number required
  • relevantText string
  • relevantTextList object[]
    • relevantText string required
    • startTime string required
    • endTime string required

Responses​

Schema application/json
  • wallet oneOf required
    • Wallet
      • name string required
      • logo string required
      • icon string required
      • androidLogo string
      • displayIdentifiant boolean required
      • passBuilderPassTemplateId string
      • passBuilderBusinessId string
      • passBuilderToken string
      • identifier string required
      • identifierQr string required
      • address string
      • website string required
      • servicePhone string required
      • businessPhone string required
      • socialMedia object required
        • linkedin string
        • facebook string
        • instagram string
        • tiktok string
        • twitter string
        • youtube string
        • snapchat string
        • pinterest string
        • reddit string
        • whatsapp string
        • telegram string
      • additionalContacts object[] required
        • title string required
        • value string required
        • kind string requiredenum: URL, PHONE, EMAIL
      • termsAndConditions object required
        • type string requiredenum: PDF, URL, NONE
        • customUrl string
        • pdfUrl string
      • webHookUrl string required
      • rootDomain string required
      • timezone string
      • allowedPasses string[] requiredenum: ALL, EVENT_TICKET, TRANSIT, CINEMA, BOARDING_PASS, COUPON, GENERIC, STORE_CARD, OFFER, HOTEL
      • expiredCleanupEnabled boolean required
      • _id string required
      • createdAt string <date-time> required
      • updatedAt string <date-time> required
    • option 2
  • longitude number required
  • latitude number required
  • relevantText string required
  • relevantTextList object[]
    • relevantText string required
    • startTime string required
    • endTime string required
    • status stringenum: ACTIVE, INACTIVE
  • _id string required
  • createdAt string <date-time> required
  • updatedAt string <date-time> required

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