Stores
Remove Store

Remove Seller Store

Remove Seller Store data

Endpoint

Base URL
http://localhost:8080
Method and Endpoint
DELETE /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
{
    "message": "Delete store 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 - failed)

Response Body
{
    "error": "no store was deleted"
}

500 (server error)

Response Body
{
    "error": "Internal server error"
}