Update a shipment anomaly

📄 Technical specifications

The Consignee is not allowed to update this resource.

Update shipment anomaly

put

Update shipment anomaly

Authorizations
Path parameters
idstringRequired
Body
typestring | nullableOptional
categorystring · max: 255Optional
quantitynumber | nullableOptional
balancenumber | nullableOptional
dateany | nullableOptional
observationstring | nullableOptional
Responses
200Success
application/json
put
PUT /shipment-anomaly/{id} HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 91

{
  "type": "text",
  "category": "text",
  "quantity": 1,
  "balance": 1,
  "date": null,
  "observation": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "category": "text",
  "quantity": 1,
  "balance": 1,
  "date": null,
  "observation": "text",
  "createdAt": null,
  "updatedAt": null
}

Last updated