Update handling unit by id
Overview
Shipments
Deliveries
Handling units
Materials
Temperature ranges
Delivery items
Update handling unit by id
PATCH
/
handling-units
/
{id}
curl --request PATCH \
--url https://api.truecold.io/v1/handling-units/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "25-BCN-XA43N",
"material_code": "H-0023S",
"zone_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"delivery_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047"
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"code": "<string>",
"material_code": "<string>",
"account_id": "<string>",
"material_id": "<string>"
}
}
Authorizations
Path Parameters
UUID of the handling unit
Example:
"382bc9c0-6a3b-4255-97f4-98e91ceab047"
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request PATCH \
--url https://api.truecold.io/v1/handling-units/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"code": "25-BCN-XA43N",
"material_code": "H-0023S",
"zone_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"delivery_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047"
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"code": "<string>",
"material_code": "<string>",
"account_id": "<string>",
"material_id": "<string>"
}
}