Update all the tasks of a consignment. Existing tasks not present in the request will also be removed from the consignment.

Path Parameters
  • consignmentId
    Type: stringFormat: uuid
    required
Body·
application/json
  • tasks
    Type: array object[] ·

    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