traceability

Create Traceability Event

Create one typed event atomically with an idempotent request key. Event/history/suggestion scopes use read:records/write:records; a payload that updates current animal identifiers or status additionally requires write:animals.

post/v1/farm/{farm_id}/traceability-events

Request

  • Base URL: https://api.ranch.bot
  • URL: https://api.ranch.bot/v1/farm/{farm_id}/traceability-events
  • Auth: HTTP bearer

Path parameters

farm_idstring uuid required

Request body

request_keystring required

Opaque idempotency key (1-200 characters).

sourcestring nullable
payloadobject required

Versioned schema 1 traceability payload.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.