API Overview
Loyalty.lt provides multiple REST APIs for different integration scenarios. Choose the API that fits your use case.Available APIs
Shop API
For e-commerce platforms and POS systems. Award points, manage loyalty cards, process transactions.
Partner API
For partner management systems. Manage shops, staff, settings, and analytics. Coming soon
Shop API
The Shop API enables e-commerce platforms and POS systems to integrate with the Loyalty.lt loyalty system.Key Features
- Loyalty Cards - Look up cards, check balances, get card info
- Transactions - Create purchases, award points, view history
- QR Authentication - QR Login, QR Card Scan for POS
- Offers - Retrieve promotional offers and discounts
- XML Import - Bulk import offers from XML feeds
Shop API Documentation
Complete Shop API reference with endpoints, authentication, and examples
Response Format
All Loyalty.lt APIs follow a consistent JSON response structure:Success Response
Error Response
HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad Request / Validation Error |
401 | Unauthorized - Invalid credentials |
403 | Forbidden - Access denied |
404 | Not Found |
422 | Unprocessable Entity |
429 | Too Many Requests - Rate limited |
500 | Server Error |