Skip to main content
POST
/
api
/
v1
/
inventory
/
metrics
/
weight-and-feed
Record weight and feed metrics for a flock Calculates daily rates and perform...
curl --request POST \
  --url http://localhost:3000/api/v1/inventory/metrics/weight-and-feed \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flockId": "<string>"
}
'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
flockId
string

flockId — see API source for exact type.

Response

Created

message
string
data
object