Patch configuration
PATCH/config
Partially update the current configuration.
Request
- application/json
Body
required
fleetManagementSettings object
callingStation object
requestTypes object
pickup object
enable boolean
title string
dropoff object
enable boolean
title string
material object
title string
enableExtraField boolean
store object
title string
enable boolean
stationTitle string
empty object
enable boolean
title string
store object
enable boolean
title string
stationTitle string
trolleyLimit object
min number
max number
createRequestByStore object
title string
enable boolean
processRequest boolean
Responses
- 200
- 401
- 403
- 404
- 500
Configuration patched
- application/json
- Schema
- Example (from schema)
Schema
_id uuid
fleetManagementSettings object
callingStation object
requestTypes object
pickup object
enable boolean
title string
dropoff object
enable boolean
title string
material object
title string
enableExtraField boolean
store object
title string
enable boolean
stationTitle string
empty object
enable boolean
title string
store object
enable boolean
title string
stationTitle string
trolleyLimit object
min number
max number
createRequestByStore object
title string
enable boolean
processRequest boolean
createdAt date-time
updatedAt date-time
{
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fleetManagementSettings": {
"callingStation": {
"requestTypes": {
"pickup": {
"enable": true,
"title": "string"
},
"dropoff": {
"enable": true,
"title": "string",
"material": {
"title": "string",
"enableExtraField": true
},
"store": {
"title": "string",
"enable": true,
"stationTitle": "string"
}
},
"empty": {
"enable": true,
"title": "string",
"store": {
"enable": true,
"title": "string",
"stationTitle": "string"
}
}
},
"trolleyLimit": {
"min": 0,
"max": 0
},
"createRequestByStore": {
"title": "string",
"enable": true
},
"processRequest": true
}
},
"createdAt": "2025-06-05T13:40:40.954Z",
"updatedAt": "2025-06-05T13:40:40.954Z"
}
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."
}
Resource not found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Resource not found."
}
{
"message": "Resource not found."
}
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...