Skip to content

Get Store By ID

Get a specific store by its ID. Public endpoint.

Endpoint

GET /v1/accounts/store/get-by/?id={store_id}

Authentication

Not required (public endpoint)

Query Parameters

Parameter Type Required Description
id integer Yes Store ID

Response

Success (200 OK)

{
  "id": 1,
  "email": "store@example.com",
  "name": "My Store",
  "description": "Store description",
  "logo_url": "https://...",
  "business_address": "123 Main St",
  "preferred_language": "AZERBAIJANI",
  "contact_phone": "+994501234567",
  "percent": 10.5,
  "created": "2025-01-15T10:30:00Z"
}

Error Responses

Store Not Found (404)

{
  "error": "Store not found"
}

Missing ID Parameter (400)

{
  "message": "Param not send!"
}

Example Request

curl -X GET "https://api.luxmart.site/v1/accounts/store/get-by/?id=1"

Notes

  • Only returns non-deleted stores
  • This is a public endpoint, no authentication required