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 thefarmer_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
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by first name |
last_name | string | Filter by last name |
area_from / area_to | int | Filter by total area (hectares) |
modified_at_from | datetime | Change detection |
deleted_at_from | datetime | Detect deleted farmers |
page / size | int | Pagination |
Get Farmer detail
Finding the right farmer_id
When setting up a new client:- List all farmers:
GET /api/v2/third_party/farmers - Match by
name+lastnameorcuitto identify the producer - Store the
id— you’ll use it asfarmer_idwhen creating Establishments
External code mapping
Useexternal_code to store your system’s producer ID on the SIMA farmer record. This allows reliable lookups without depending on name matching:
external_code on existing farmers if needed.
Próximos pasos
Hierarchy Setup
Use farmer_id to create Establishments and complete the hierarchy