Skip to main content

Resumen

A Farmer (Productor) is the top-level entity in SIMA’s hierarchy. Every Establishment belongs to a Farmer, and every Farmer belongs to a Society. When setting up a new client integration, you start here to get the farmer_id required to create Establishments.
Farmers are read-only from the Third-Party API. They are created and managed in SIMA directly. Use these endpoints to list existing farmers and retrieve their IDs.

Endpoints

List Farmers

Filters: Response:

Get Farmer detail

Returns a single farmer by ID. Same fields as the list response.

Finding the right farmer_id

When setting up a new client:
  1. List all farmers: GET /api/v2/third_party/farmers
  2. Match by name + lastname or cuit to identify the producer
  3. Store the id — you’ll use it as farmer_id when creating Establishments
If the farmer doesn’t exist yet, they need to be created in SIMA by the client or a SIMA admin before the integration can proceed.

External code mapping

Use external_code to store your system’s producer ID on the SIMA farmer record. This allows reliable lookups without depending on name matching:
Contact soporte@sima.ag to set external_code on existing farmers if needed.

Próximos pasos

Hierarchy Setup

Use farmer_id to create Establishments and complete the hierarchy