Update alias for calling stations
POST/internal/update-alias
Update the alias for calling stations based on the fleet graph.
Request
Responses
- 200
- 500
Alias updated
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
name string
username string
locations string[]
alias object
property name* string
approvalRequired boolean
sku string[]
load uuid
stationType string
Possible values: [web, physical]
requestType string
Possible values: [pickup, dropoff, empty]
storeId uuid
createdAt date-time
updatedAt date-time
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"username": "string",
"locations": [
"string"
],
"alias": {},
"approvalRequired": true,
"sku": [
"string"
],
"load": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"stationType": "web",
"requestType": "pickup",
"storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2025-06-05T13:40:40.705Z",
"updatedAt": "2025-06-05T13:40:40.705Z"
}
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...