Update all the tasks of a consignment. Existing tasks not present in the request will also be removed from the consignment.
Path Parameters
- Type: stringFormat: uuidconsignment
Id required
Body·
application/json
- Type: array object[] ·tasks
A collection of consignment tasks.
Responses
- 200
OK
Request Example for put/v1/consignments/{consignmentId}/tasks
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/tasks \
--request PUT \
--header 'Content-Type: application/json' \
--data '{
"tasks": [
{
"taskTypeId": "",
"value": 1
}
]
}'
No Body