Update temperature range by id
Overview
Shipments
Deliveries
Handling units
Materials
Temperature ranges
Delivery items
Update temperature range by id
PATCH
/
temperature-ranges
/
{id}
curl --request PATCH \
--url https://api.truecold.io/v1/temperature-ranges/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"min_temp": -4,
"max_temp": 20,
"default_allowance": 5
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"min_temp": 123,
"max_temp": 123,
"default_allowance": 123,
"account_id": "<string>"
}
}
Authorizations
Path Parameters
UUID of the temperature range
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/temperature-ranges/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"id": "382bc9c0-6a3b-4255-97f4-98e91ceab047",
"min_temp": -4,
"max_temp": 20,
"default_allowance": 5
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"min_temp": 123,
"max_temp": 123,
"default_allowance": 123,
"account_id": "<string>"
}
}