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

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

    A collection of consignment consumables.

Responses
  • 200

    OK

Request Example for put/v1/consignments/{consignmentId}/consumables
curl https://api.consignlyhq.com/v1/consignments/123e4567-e89b-12d3-a456-426614174000/consumables \
  --request PUT \
  --header 'Content-Type: application/json' \
  --data '{
  "consumables": [
    {
      "consumableTypeId": "",
      "value": 1
    }
  ]
}'
No Body