Send robot request from store
POST/robot-requests/store
Send a robot request from the store.
Request
- application/json
Body
required
storeId uuidrequired
stationId uuid
locationId string
load uuidrequired
requestType string
Possible values: [pickup, dropoff, empty]
bufferId uuidrequired
from string
Possible values: [store]
sku string[]
trolleyCount number
Responses
- 201
- 400
- 401
- 403
- 409
- 500
Robot request sent
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
stationId object
locationId string
missionLogId uuid
load object
status string
Possible values: [requested, processing, approved, initiated, completed, aborted, cancelled]
sku string[]
requestType string
Possible values: [pickup, dropoff, empty]
trolleyCount number
bufferId object
properties object
storeId uuid
from string
Possible values: [store, station]
message string
createdAt date-time
updatedAt date-time
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"stationId": {},
"locationId": "string",
"missionLogId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"load": {},
"status": "requested",
"sku": [
"string"
],
"requestType": "pickup",
"trolleyCount": 0,
"bufferId": {},
"properties": {},
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "store",
"message": "string",
"createdAt": "2025-06-05T13:40:40.583Z",
"updatedAt": "2025-06-05T13:40:40.583Z"
}
Bad Request due to validation errors in the request body
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Validation failed.",
"errors": [
{
"field": "stationId",
"message": "stationId is required."
},
{
"field": "locationId",
"message": "locationId is required."
}
]
}
{
"message": "Validation failed.",
"errors": [
{
"field": "stationId",
"message": "stationId is required."
},
{
"field": "locationId",
"message": "locationId is required."
}
]
}
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."
}
A robot request with the given details already exists.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "A robot request with the given details already exists."
}
{
"message": "A robot request with the given details already exists."
}
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...