Update a shipment service
📄 Technical specifications
The Consignee is not allowed to update this resource.
Update a shipment service
Authorizations
Path parameters
idstringRequired
Body
shipmentstring · uuidOptional
quantitynumber | nullableOptional
isDonebooleanOptional
typestring · uuidOptional
Responses
200Success
application/json
400
Bad Request
application/json
401
Unprocessable Entity
application/json
409
Conflict
application/json
422
Unprocessable Entity
application/json
put
PUT /shipment-service/{id} HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"shipment": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 1,
"isDone": true,
"type": "123e4567-e89b-12d3-a456-426614174000"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"shipment": "123e4567-e89b-12d3-a456-426614174000",
"type": "123e4567-e89b-12d3-a456-426614174000",
"quantity": 1,
"isDone": true,
"createdAt": null,
"updatedAt": null
}
Last updated