Loyalty card
The wallet's loyalty card (template).
Get the store card
Returns the wallet's store card, the template shared by all your clients' loyalty cards: card type, design, texts, gain unit and validity rules. Each wallet has a single store card.
Update the store card
Updates the wallet's store card template (design, texts, strip image, validity, gain unit…) and applies the changes to the cards already issued. Accepts `application/json` or `multipart/form-data` (to upload the `strip` image). Returns the updated store card.
Get store card details
Returns a summary of the store card, handy for building a client form: card type (`cardType`), available client types (`clientTypes`), expiration date computed from the card's validity (`expirationDate`), card row contents (`startRow`, `middleRow`, `endRow`) and the wallet's communication channel. `isUnlimited` is `true` when the card never expires.