# Loyalty.lt API Documentation ## Docs - [Ably Token](https://docs.loyalty.lt/api-reference/endpoints/shop/ably/token.md): Generate Ably JWT tokens for real-time WebSocket communication - [QR Card Scan](https://docs.loyalty.lt/api-reference/endpoints/shop/auth/qr-card-scan.md): Identify loyalty cards at POS by scanning QR code with mobile app - [QR Login](https://docs.loyalty.lt/api-reference/endpoints/shop/auth/qr-login.md): Generate QR code session for passwordless authentication - [Send App Link](https://docs.loyalty.lt/api-reference/endpoints/shop/auth/send-app-link.md): Send SMS with mobile app download link to customer - [Validate Credentials](https://docs.loyalty.lt/api-reference/endpoints/shop/auth/validate-credentials.md): Verify that API credentials are valid and working - [List Categories](https://docs.loyalty.lt/api-reference/endpoints/shop/categories/list.md): Get available offer/product categories - [Calculate Coupon Discount](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/calculate-discount.md): Calculate discount amount for a coupon (Partner API) - [Cancel Coupon Pending](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/cancel-pending.md): Cancel pending status of a reserved coupon (Partner API) - [Get Card Coupons](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/card-coupons.md): Get active coupons for a loyalty card (Partner API) - [List Coupons](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/list.md): List coupons for a shop or customer (Partner API) - [Set Coupon Pending](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/pending.md): Reserve a coupon for redemption (Partner API) - [Get Coupon Products](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/products.md): Get available products for a coupon (Partner API) - [Redeem Coupon](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/redeem.md): Redeem a coupon at a shop (Partner API) - [Verify Coupon](https://docs.loyalty.lt/api-reference/endpoints/shop/coupons/verify.md): Verify a coupon by scanning its code (Partner API) - [Add Stamps](https://docs.loyalty.lt/api-reference/endpoints/shop/games/add-stamps.md): Add stamps to a customer stamp card - [Get Card Games](https://docs.loyalty.lt/api-reference/endpoints/shop/games/card-games.md): Get games with progress for a specific loyalty card - [Complete Game](https://docs.loyalty.lt/api-reference/endpoints/shop/games/complete.md): Manually complete a stamp card game and generate reward - [Get Customer Game History](https://docs.loyalty.lt/api-reference/endpoints/shop/games/history.md): Get game history for a specific customer - [List Games](https://docs.loyalty.lt/api-reference/endpoints/shop/games/list.md): Get available games for a shop - [Get Game Progress](https://docs.loyalty.lt/api-reference/endpoints/shop/games/progress.md): Get detailed game progress for a customer - [Restart Game](https://docs.loyalty.lt/api-reference/endpoints/shop/games/restart.md): Restart a completed game to allow new progress - [Get Game](https://docs.loyalty.lt/api-reference/endpoints/shop/games/show.md): Get detailed information about a specific game - [Get Loyalty Card Info](https://docs.loyalty.lt/api-reference/endpoints/shop/loyalty-cards/info.md): Get loyalty card details by card number, ID, or user ID - [List Loyalty Cards](https://docs.loyalty.lt/api-reference/endpoints/shop/loyalty-cards/list.md): Get paginated list of partner's loyalty card templates - [Get Loyalty Card](https://docs.loyalty.lt/api-reference/endpoints/shop/loyalty-cards/partner-card.md): Get details of a specific partner card template - [List Offers](https://docs.loyalty.lt/api-reference/endpoints/shop/offers/list.md): Get available offers and promotions - [Shop API Overview](https://docs.loyalty.lt/api-reference/endpoints/shop/overview.md): Complete guide to Loyalty.lt Shop API for e-commerce integrations - [Get Points Balance](https://docs.loyalty.lt/api-reference/endpoints/shop/points/balance.md): Check a customer's current points balance - [Product Categories](https://docs.loyalty.lt/api-reference/endpoints/shop/products/categories.md): Get product category hierarchy - [Products Sync Status](https://docs.loyalty.lt/api-reference/endpoints/shop/products/sync-status.md): Get product synchronization status - [List Shops](https://docs.loyalty.lt/api-reference/endpoints/shop/shops/list.md): Get a list of partner's shops/locations - [Sync Status](https://docs.loyalty.lt/api-reference/endpoints/shop/sync-status.md): Get synchronization status for offers and products - [Create Transaction](https://docs.loyalty.lt/api-reference/endpoints/shop/transactions/create.md): Create purchase transaction and award/redeem points (WooCommerce integration) - [List User Transactions](https://docs.loyalty.lt/api-reference/endpoints/shop/transactions/list.md): Get transaction history for authenticated user - [List Transactions](https://docs.loyalty.lt/api-reference/endpoints/shop/transactions/partner-list.md): Get transaction history for partner's customers - [Field Mappings](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/field-mappings.md): Get supported XML field mappings - [Import from File](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/from-file.md): Import products from an uploaded XML file - [Import from URL](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/from-url.md): Import products from an external XML URL - [XML Import](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/overview.md): Import products and offers from XML feeds into your Loyalty.lt shop - [Import Statistics](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/stats.md): Get XML import statistics and product counts - [Validate XML](https://docs.loyalty.lt/api-reference/endpoints/shop/xml-import/validate.md): Validate XML structure without importing - [Register Marketing Consent](https://docs.loyalty.lt/api-reference/endpoints/sms/consent.md): Register or revoke GDPR-compliant marketing consent for phone numbers - [SMS API Overview](https://docs.loyalty.lt/api-reference/endpoints/sms/overview.md): Send SMS messages programmatically with automatic billing and delivery tracking - [Send SMS](https://docs.loyalty.lt/api-reference/endpoints/sms/send.md): Send SMS message with automatic billing and delivery tracking - [Get SMS Status](https://docs.loyalty.lt/api-reference/endpoints/sms/status.md): Get the delivery status of a sent SMS message - [SMS Webhooks](https://docs.loyalty.lt/api-reference/endpoints/sms/webhooks.md): Receive real-time SMS delivery status updates via webhooks - [API Overview](https://docs.loyalty.lt/api-reference/overview.md): Loyalty.lt REST APIs for loyalty program integrations - [Staging Environment](https://docs.loyalty.lt/api-reference/staging.md): Test your integration safely with our staging environment - [Loyalty.lt Documentation](https://docs.loyalty.lt/index.md): Complete API documentation and integration guides for partner systems - [Examples](https://docs.loyalty.lt/sdk/javascript/examples.md): Complete code examples for the Loyalty.lt JavaScript SDK - [Installation](https://docs.loyalty.lt/sdk/javascript/installation.md): Install the official Loyalty.lt JavaScript SDK - [QR Card Scan](https://docs.loyalty.lt/sdk/javascript/qr-card-scan.md): Identify customers via QR code scanning for POS systems - [QR Login](https://docs.loyalty.lt/sdk/javascript/qr-login.md): Implement QR code-based authentication with the SDK - [React Components](https://docs.loyalty.lt/sdk/javascript/react-components.md): Pre-built React components for Loyalty.lt integration - [Basic Usage](https://docs.loyalty.lt/sdk/javascript/usage.md): Learn how to use the Loyalty.lt JavaScript SDK - [SDK Overview](https://docs.loyalty.lt/sdk/overview.md): Official Loyalty.lt SDKs for Shop API integration - [Installation](https://docs.loyalty.lt/sdk/php/installation.md): Install the official Loyalty.lt PHP SDK - [QR Features](https://docs.loyalty.lt/sdk/php/qr-features.md): QR Login and QR Card Scan with PHP SDK - [Basic Usage](https://docs.loyalty.lt/sdk/php/usage.md): Learn how to use the Loyalty.lt PHP SDK - [Installation](https://docs.loyalty.lt/sdk/python/installation.md): Install the official Loyalty.lt Python SDK - [QR Features](https://docs.loyalty.lt/sdk/python/qr-features.md): QR Login and QR Card Scan with Python SDK - [Basic Usage](https://docs.loyalty.lt/sdk/python/usage.md): Learn how to use the Loyalty.lt Python SDK ## OpenAPI Specs - [openapi](https://docs.loyalty.lt/api-reference/openapi.json) ## Optional - [Partners Portal](https://partners.loyalty.lt) - [GitHub](https://github.com/Loyalty-lt) - [Support](mailto:developers@loyalty.lt)