curl -X GET "https://staging-api.loyalty.lt/en/shop/coupons/card?shop_id=1&card_id=456" \ -H "X-API-Key: your_api_key" \ -H "X-API-Secret: your_api_secret"
{ "success": true, "message": "Customer coupons retrieved successfully", "data": { "coupons": [ { "id": 123, "code": "K1234567890", "status": "active", "expiry_time": "2025-01-31T23:59:59Z", "offer": { "id": 456, "title": "Free Coffee", "description": "Choose your free coffee", "reward_details": "Free medium coffee", "original_price": 3.50 }, "user": { "id": 100, "name": "Jonas Jonaitis", "email": "jonas@example.com" }, "is_pending": false, "products": [ { "id": 1, "name": "Americano", "description": "Classic black coffee", "image_url": "https://example.com/americano.jpg" }, { "id": 2, "name": "Latte", "description": "Espresso with steamed milk", "image_url": "https://example.com/latte.jpg" } ], "categories": [], "requires_product_selection": true } ], "total_count": 1 } }
Get active coupons for a loyalty card (Partner API)
Documentation IndexFetch the complete documentation index at: https://docs.loyalty.lt/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.loyalty.lt/llms.txt
Use this file to discover all available pages before exploring further.
Show data