Delete material by id
Overview
Shipments
Deliveries
Handling units
Materials
Temperature ranges
Delivery items
Delete material by id
DELETE
/
materials
/
{id}
curl --request DELETE \
--url https://api.truecold.io/v1/materials/{id} \
--header 'x-api-key: <api-key>'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"account_id": "<string>",
"material_code": "<string>",
"material_name": "<string>",
"allowance": 123,
"temperature_range_id": "<string>",
"soft_deleted": "<string>",
"soft_deleted_by": "<string>"
}
}
Authorizations
Path Parameters
UUID of the material
Example:
"382bc9c0-6a3b-4255-97f4-98e91ceab047"
curl --request DELETE \
--url https://api.truecold.io/v1/materials/{id} \
--header 'x-api-key: <api-key>'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"account_id": "<string>",
"material_code": "<string>",
"material_name": "<string>",
"allowance": 123,
"temperature_range_id": "<string>",
"soft_deleted": "<string>",
"soft_deleted_by": "<string>"
}
}