Skip to main content
GET
/
{locale}
/
shop
/
loyalty-cards
/
{id}
curl -X GET "https://staging-api.loyalty.lt/en/shop/loyalty-cards/5" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"
{
  "success": true,
  "code": 200,
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "data": {
    "id": 5,
    "partner_id": 45,
    "name": {
      "lt": "Kavos megustauju kortele",
      "en": "Coffee Lover Card"
    },
    "description": {
      "lt": "Rinkite taskus uz kiekviena pirkinį",
      "en": "Collect points for every purchase"
    },
    "points_per_euro": 1.5,
    "welcome_bonus": 100,
    "is_active": true,
    "applicable_shops": null,
    "card_design": {
      "background_color": "#8B4513",
      "text_color": "#FFFFFF"
    }
  }
}

Get Loyalty Card

Get detailed information about a specific partner card template by ID.

Endpoint

GET /{locale}/shop/loyalty-cards/{id}

Authentication

X-API-Key
string
required
API key
X-API-Secret
string
required
API secret

Path Parameters

locale
string
required
Language code (e.g., en, lt)
id
integer
required
Partner card template ID

Response

data
object
curl -X GET "https://staging-api.loyalty.lt/en/shop/loyalty-cards/5" \
  -H "X-API-Key: your_api_key" \
  -H "X-API-Secret: your_api_secret"
{
  "success": true,
  "code": 200,
  "request_id": "550e8400-e29b-41d4-a716-446655440000",
  "data": {
    "id": 5,
    "partner_id": 45,
    "name": {
      "lt": "Kavos megustauju kortele",
      "en": "Coffee Lover Card"
    },
    "description": {
      "lt": "Rinkite taskus uz kiekviena pirkinį",
      "en": "Collect points for every purchase"
    },
    "points_per_euro": 1.5,
    "welcome_bonus": 100,
    "is_active": true,
    "applicable_shops": null,
    "card_design": {
      "background_color": "#8B4513",
      "text_color": "#FFFFFF"
    }
  }
}