Documentation Index
Fetch the complete documentation index at: https://docs.wiseyield.co/llms.txt
Use this file to discover all available pages before exploring further.
PUT https://www.wiseyield.co/api/v1/farms/{id}/fields/{fieldId}
Authentication
Requires a key with the fields:write scope.
Path parameters
Request body
All fields are optional. Only fields you include in the body are updated.
Up to 2,000 characters. Pass null to clear.
Positive number in the farm’s areaUnit.
GeoJSON Polygon. Pass null to clear.
Up to 100 characters. Pass null to clear.
One of active, fallow, preparing, planted.
Up to 5,000 characters. Pass null to clear.
Irrigation overrides (Blueprint §9.4)
These override the farm-wide irrigation defaults for this field.
irrigationFlowRatePerEmitter
Liters/hour per emitter, 0–100.
One of drip, sprinkler, flood, pivot, manual, none.
Response
Returns the updated field wrapped under data.
curl -X PUT 'https://www.wiseyield.co/api/v1/farms/11111111.../fields/88888888...' \
-H "Authorization: Bearer $WISEYIELD_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "status": "preparing", "notes": "Tilled, ready for planting" }'
{
"data": {
"id": "88888888-9999-aaaa-bbbb-cccccccccccc",
"farmId": "11111111-2222-3333-4444-555555555555",
"name": "North Field",
"status": "preparing",
"notes": "Tilled, ready for planting",
"updatedAt": "2026-05-17T17:05:00.000Z"
}
}
Errors
| Status | When |
|---|
400 INVALID_ID | {id} or {fieldId} is not a valid UUID |
400 VALIDATION_ERROR | Body validation failed |
401 | Missing, malformed, expired, or revoked API key |
403 INSUFFICIENT_SCOPE | Key lacks fields:write scope |
404 NOT_FOUND | Farm or field doesn’t exist, is soft-deleted, or belongs to another user |
429 RATE_LIMIT_EXCEEDED | Per-user rate limit reached |
5xx | Server error |