Loyalty.lt
Shop shops

List Shops

Get a paginated list of shops

GET/{locale}/shop/shops

Get a paginated list of shops

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

Query Parameters

page?integer

Page number

per_page?integer

Items per page (max 50)

Rangevalue <= 50
search?string

Search by shop name or address

is_active?boolean

Filter by active status

latitude?number

Latitude for location-based search

longitude?number

Longitude for location-based search

radius?number

Search radius in kilometers

Response Body

application/json

curl -X GET "https://example.com/en/shop/shops"
{  "success": true,  "data": [    {      "id": 1,      "name": "Downtown Store",      "address": "123 Main St, City",      "phone": "+370 600 00000",      "email": "shop@example.com",      "website": "https://shop.example.com",      "description": "Our main downtown location",      "opening_hours": "Mon-Fri: 9:00-18:00",      "coordinates": {        "latitude": 54.8985,        "longitude": 23.9036      },      "images": [        "string"      ],      "is_active": true,      "partner": {        "id": 1,        "name": "Partner Name"      },      "distance": 2.5,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "current_page": 1,    "last_page": 5,    "per_page": 15,    "total": 68  },  "code": 200}