Seeds
Create and manage your seeds. Seeds (and especially seed lots) are very important to track, incase of a recall. Seed records are tied to sowing records (see the Sowings API), and seed suppliers (see the Seed Suppliers API) to allow for full traceability.
Seeds Get
POSThttps://api.gofarmflow.com/seeds-get
Lists seeds associated with a FarmFlow account.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
product-id |
integer | Optional | Optionally filter by product ID |
status |
string | Optional | Optionally filter by seed status (accepts: current, future, or past) |
Example Request
{
"product-id": "123",
"status": "current"
}
Seed Get
POSThttps://api.gofarmflow.com/seed-get
Returns details for a single seed record.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id |
integer | Required | Seed's ID |
Example Request
{
"id": "123"
}
Seed Create
POSThttps://api.gofarmflow.com/seed-create
Creates a seed record.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
seed-supplier-id |
integer | Required | Seed Supplier's ID |
product-id |
integer | Required | Product ID that this seed is used to create |
manufacturer |
string | Required | Seed Manufacturer's Company Name |
cost |
decimal | Required | Total cost (optinally including tax, shipping, etc) for this bag of seed |
starting-amount |
decimal | Required | Starting weight of the bag of seed |
remaining |
decimal | Required | Remaining weight of the bag of seed |
lot-number |
string | Required | Seed Lot Number for the bag of seed |
organic |
string | Required | Marks this seed as organic, or not (accepts: Yes or No) |
notes |
string | Optional | Internal notes for this seed |
Example Request
{
"seed-supplier-id": "321",
"product-id": "123",
"manufacturer": "Top Notch Seed",
"cost": "100.00",
"starting-amount": "25.25",
"remaining": "23.65",
"lot-number": "123456",
"organic": "No",
"notes": "Test lot"
}
Seed Update
POSThttps://api.gofarmflow.com/seed-update
Updates a seed record.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id |
integer | Required | Seed's ID |
seed-supplier-id |
integer | Required | Seed Supplier's ID |
product-id |
integer | Required | Product ID that this seed is used to create |
manufacturer |
string | Required | Seed Manufacturer's Company Name |
cost |
decimal | Required | Total cost (optinally including tax, shipping, etc) for this bag of seed |
starting-amount |
decimal | Required | Starting weight of the bag of seed |
remaining |
decimal | Required | Remaining weight of the bag of seed |
lot-number |
string | Required | Seed Lot Number for the bag of seed |
organic |
string | Required | Marks this seed as organic, or not (accepts: Yes or No) |
notes |
string | Optional | Internal notes for this seed |
Example Request
{
"id": "234",
"seed-supplier-id": "321",
"product-id": "123",
"manufacturer": "Top Notch Seed",
"cost": "100.00",
"starting-amount": "25",
"remaining": "23",
"lot-number": "123456",
"organic": "No",
"notes": "Test lot"
}
Seed Delete
POSThttps://api.gofarmflow.com/seed-delete
Deletes a seed record. Seeds cannot be deleted if they are associated with a sowing entry. Use the Sowings API to update sowings before deleting a seed entry.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id |
integer | Required | Seed's ID |
Example Request
{
"id": "123"
}