Detail Seller Store
Fetch Seller Store data
Endpoint
Base URL
http://localhost:8080
Method and Endpoint
GET /api/sellers/current/stores/{store_id}
Headers
Authorization: Bearer access_token
Route Param
store_id
: string (required)
Responses
You will get responses like this:
200 (success)
Response Body
{
"data": {
"name": "store-name",
"description": "store-desc",
"logo": "logo.png",
"banner": "banner.png",
"email": "example@gmail.com",
"store_id": "6658dde1f6165e50b056027e"
},
"message": "Fetching store data successfully"
}
404 (not found)
Response Body
{
"error": "store not found"
}
401 (unauthorized)
Response Body
{
"error": "Invalid authorization header"
}
401 (unauthorized - expire token)
Response Body
{
"error": "token is expired: token is expired by 2m19s"
}
500 (server error)
Response Body
{
"error": "Internal server error"
}