Get all buffer locations
GET/buffer-locations
Retrieve a list of all buffer locations.
Request
Responses
- 200
- 401
- 403
- 500
A list of buffer locations
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
_id uuid
name string
location string
type string
Possible values: [pickup, dropoff]
properties object
loads uuid[]
storeId uuid
createdAt date-time
updatedAt date-time
[
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"location": "string",
"type": "pickup",
"properties": {},
"loads": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2024-12-03T13:25:44.953Z",
"updatedAt": "2024-12-03T13:25:44.953Z"
}
]
Unauthorized.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Authentication token not provided."
}
{
"message": "Authentication token not provided."
}
Forbidden.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Access to this resource is forbidden."
}
{
"message": "Access to this resource is forbidden."
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Internal Server Error. Please try again later."
}
{
"message": "Internal Server Error. Please try again later."
}
Loading...