Get Own Store
Get the authenticated store's own information.
Endpoint
Authentication
Required (Store role)
Request Body
No body required.
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)
Unauthorized (401)
Example Request
curl -X GET "https://api.luxmart.site/v1/accounts/store/own/" \
-H "Authorization: Token your_access_token"
Notes
- Returns the store information for the authenticated store
- Store ID is extracted from the authentication token
- Only returns non-deleted stores