Cropwise
powered by syngenta

Working with Seeds 🌱

Overview

The Seeds domain provides a comprehensive system for managing commercial seeds, their registrations, parameters, and associated product information. This domain enables organizations to track seed products, their characteristics, SKUs (stock keeping units), regulatory registrations, and agronomic parameters across different locations and markets.

Seeds can be canon (global, shared across all organizations) or custom (organization-specific). Canon seeds have no org_id and are available to all organizations, while custom seeds are associated with a specific org_id and are only visible to that organization.

Cardinality summary

  • Seed ➜ 1 Localized Crop (crop-location association)
  • Seed ➜ 0..1 Organization (defines canon vs custom scope)
  • Seed ➜ 0..* SKUs (product variants and packaging)
  • Seed ➜ 0..* External IDs (integration with external systems)
  • Seed ➜ 0..* Registrations (regulatory approvals)
  • Seed ➜ 0..* Parameters (agronomic characteristics)
Seed
β”œβ”€β”€ Localized Crop (1)
β”œβ”€β”€ Organization (0..1)
β”œβ”€β”€ SKUs (0..*)  
β”œβ”€β”€ External IDs (0..*)
β”œβ”€β”€ Registrations (0..*)
└── Seed Parameters (0..*)

Key Concepts

ConceptDescription
SeedCommercial seed product with specific characteristics and brand information
Commercial NameMarketing or trade name of the seed product
Localized CropAssociation with specific crop and geographic location
SKU (Stock Keeping Unit)Product variant with packaging and measurement details
Seed RegistrationRegulatory approval for Seed in specific markets
Seed ParameterAgronomic or phenotypic characteristic (e.g., maturity group, disease resistance)
External IDIdentifier from external systems for integration purposes
SourceData source or system of origin for seed information

API Documentation

For complete API reference including request/response schemas, authentication, and interactive testing, visit:

πŸ“š Seeds API Documentation - Interactive API documentation with request/response examples

Available Endpoints

MethodEndpointDescription
POST/v2/catalog/seedsCreate a new seed variety with SKUs, registrations, and parameters
GET/v2/catalog/seedsList all seed varieties with pagination and filters (org_id, source, country, only_canon)
GET/v2/catalog/seeds/{id}Get a specific seed variety by UUID with optional filters and full details
PUT/v2/catalog/seeds/{id}Update an existing seed variety including SKUs, registrations, and parameters
DELETE/v2/catalog/seeds/{id}Soft delete a seed variety by UUID
POST/v2/catalog/seeds/queryAdvanced search for seeds by parameters with filtering and pagination

Business Rules

Canon vs Custom Seeds

Seeds can be created with different visibility scopes:

Canon Seeds (Global)

  • No org_id specified
  • Available to all organizations
  • Typically represent widely-known commercial varieties
  • Cannot be modified or deleted by individual organizations
  • Ideal for standardized seed catalogs

Custom Seeds (Organization-Specific)

  • org_id specified
  • Visible only to the associated organization
  • Can be modified and deleted by the organization
  • Ideal for proprietary varieties or organization-specific catalog entries

Commercial Name Uniqueness

Each Seed must have a unique commercial name within the same localized crop

Localized Crop Association

Seeds must be associated with a valid localized crop (crop-location combination)

SKU Limits

  • Maximum 100 SKUs per Seed
  • Each SKU must have a valid unit_of_measurement

External ID Rules

  • Maximum 100 external IDs per Seed
  • Used for integrating with external systems

Error Codes

Seed Errors

CodeMessageHTTP StatusWhen Triggered
ECSE001Seed with id {id} does not exist404 NOT_FOUNDRequested Seed ID not found during GET, UPDATE, or DELETE operations
ECSE002A seed with the name: {seedName} was already created for this localized crop400 BAD_REQUESTAttempting to create or update seed with duplicate commercial name for same localized crop

Seed Registration Errors

CodeMessageHTTP StatusWhen Triggered
ECSR001Seed Registration with registration number {id} does not exist404 NOT_FOUNDRequested seed registration not found during GET, UPDATE, or DELETE operations

Seed Parameter Errors

CodeMessageHTTP StatusWhen Triggered
ECSP001Seed parameter with id {id} does not exist404 NOT_FOUNDRequested seed parameter ID not found during GET, UPDATE, or DELETE operations
ECSP002Some Seed Parameters Ids do not exist404 NOT_FOUNDOne or more seed parameter IDs in a batch operation don't exist

Typical Workflows

Basic Seed Management

  1. Create Seed - Register new commercial seed products with brand and localized crop information
  2. Update Seed - Modify seed properties like commercial name, brand, or positioning description
  3. Retrieve Seed - Get seed details with optional full information (registrations, parameters)
  4. List Seeds - Query seeds by organization, location, crop, source, or other filters
  5. Delete Seed - Soft delete seeds no longer available in the market

Search and Filtering

  • Location-Based Search - Find seeds available in specific countries
  • Crop Association - Filter seeds by crop type through localized crop relationship
  • Organization Filtering - Query seeds by organization for multi-tenant scenarios
  • Source Filtering - Filter by data source or system of origin
  • Parameter-Based Search - Find seeds matching specific parameter criteria

Next Steps

After creating your seeds, you can:

  1. Managing Seed Registrations β†’
  2. Working with Seed Parameters β†’
  3. Working with Crops β†’