Update all the consumables of a consignment. Existing consumables 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[] ·consumables
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