Loyalty.lt
Partners

Get customer details

Retrieve detailed information about a specific customer

GET/{locale}/partners/customers/{id}

Retrieve detailed information about a specific customer

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

id*integer

Customer ID

Response Body

application/json

curl -X GET "https://example.com/en/partners/customers/0"
{  "success": true,  "data": {    "id": 1,    "name": "John Doe",    "email": "user@example.com",    "phone": "+37061234567",    "member_since": "2023-01-01",    "total_purchases": 12,    "total_points": 1250,    "loyalty_level": "Gold",    "transaction_history": [      {        "id": 123,        "date": "2023-05-15T14:30:00Z",        "amount": 125.5,        "points_earned": 125,        "status": "completed"      }    ]  },  "code": 200}