Skip to main content
Use the growers endpoints to create or manage grower records and to bulk-enable preview fields for onboarding. This page is the narrow reference for grower-specific operations, while farms and fields live in the broader fields reference. For conceptual background, see Growers.

Base URL

Endpoints


Get all growers

GET /growers Returns a paginated list of growers available to the authenticated API owner. Use leafUserId to narrow the list to one Leaf user.

Parameters

The default page size is 20 when page and size are not set.

Request

Response

For John Deere, growers correspond to John Deere “Clients.” The name property comes directly from the Client name.

Get a grower

GET /users/{leafUserId}/growers/{id} Returns a single grower by ID.

Parameters

Request

Response


Create a grower

POST /users/{leafUserId}/growers Creates a grower for the specified Leaf user. Leaf assigns an auto-generated integer ID.

Parameters

Request body

Only the name field is accepted.

Request

Response

Returns the created grower object.

Update a grower

PUT /users/{leafUserId}/growers/{id} Updates the grower’s name.

Parameters

Request body

Request

Response

Returns the updated grower object.

Enable preview fields by grower

POST /growers/enableSync Enables sync for John Deere fields in PREVIEW status under the specified growers. Matching fields are moved to WAITING and queued for sync.
Use this when the customDataSync configuration is enabled. This is faster than enabling fields individually when you want to onboard an entire grower.

Request body

Request

Response

Last modified on March 24, 2026