Skip to main content
PUT
/
api
/
v1
/
inventory
/
eggs
/
breakage
/
{breakageId}
Update breakage investigation details Body: { notes, severity }
curl --request PUT \
  --url http://localhost:3000/api/v1/inventory/eggs/breakage/{breakageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Path Parameters

breakageId
string
required

breakageId identifier

Body

application/json

The body is of type object.

Response

OK

message
string
data
object