---
title: "PATCH /crop-products/{cropProductId}"
method: PATCH
path: "/crop-products/{cropProductId}"
tags: ["CropProducts"]
---

# PATCH /crop-products/{cropProductId}

`PATCH /crop-products/{cropProductId}`

Creates or updates a crop Product resource.

## Path parameters

- `cropProductId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- CropProduct — Schema of crop product resource.
  - `cropIds` string[] — The IDs of the crops associated with the Chemical product. Note: A maximum of 25 crops can be associated with a cropProduct.
  - `reference` Reference — Reference to a dataset record.
    - `datasetId` string — Dataset id.
    - `recordId` string — Record id.
  - `brand` string — Commercial brand of the crop product.
  - `product` string — Commercial product name of the crop product.
  - `relativeMaturity` RelativeMaturityMeasure — Relative maturity measure.
    - `unit` string — Data unit.
    - `value` number, double — Data value.
    - `method` string — The method used to determine the relative maturity of the product. Examples include Comparative Relative Maturity or Heat Units.
  - `treatments` string[] — Seed Coatings Applied for fungus, insects etc.
  - `traitStack` string — Phenotypic expressions like CONV, RR2. These are the Phenotypic expressions like CONV (Conventional), RR2 (RoundUpReady).
  - `traits` string — Traits that are in the stack.
  - `location` string — Trait.
  - `company` Company — Company/Manufacturer's details.
    - `name` string — Name of the manufacturing company.
    - `description` string — Manufacturing Company description.
    - `registrationNumber` string — Registration number of the company.
  - `id` string — Unique resource ID.
  - `eTag` string — The ETag value to implement optimistic concurrency.
  - `status` string — Status of the resource.
  - `createdDateTime` string, date-time — Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.
  - `modifiedDateTime` string, date-time — Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.
  - `source` string — Source of the resource.
  - `name` string — Name to identify resource.
  - `description` string — Textual description of the resource.
  - `createdBy` string — Created by user/tenant id.
  - `modifiedBy` string — Modified by user/tenant id.
  - `properties` object — A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string, numeral and datetime (yyyy-MM-ddTHH:mm:ssZ) values are supported.

## Other responses

- `201` — Created
- `default` — Error

---

[API](https://skmtc.net/azure/apis/agrifood-agfoodplatform.md) · [All operations](https://skmtc.net/azure/apis/agrifood-agfoodplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/agrifood-agfoodplatform/revisions/33cf1de6e0c4/schema)
