Update strain

Update a strain registered under the license_number provided.

SecurityApiKeyAuth and CustomAuth
Request
path Parameters
id
required
string

The id of the strain (required if getting strain by id)

state
required
string

Lower case ANSI standard 38:2009 USPS codes of the US state where licensee is operating.

Enum: "ca" "il" "wa" "ma" "md" "mi" "wv" "co" "ok" "oh"
header Parameters
x-api-key
required
string

Trace API key header

Example: b123x21wbHlkYXBpa2V5
Authorization
required
string

Company and user credentials authentication

Example: KMP-JSON token=dmVuZG9yLWFwaS1rZXk6dX12312sdfs2V5
Request Body schema: application/json
required
object (license_base)
name
string

Strain name.

object

Baseline cannabinoid content of the strain.

object

Contains the indica and sativa percentages

average_yield
string

The average yield time for the strain

flowering_time
string

The flowering time for the strain

gender
string

Source plant gender : female or male

breeder
string

Name of breeder

Array of objects (entity_state_required)

A list of state changes made to the entity. Modifiable entity states for strain [active, inactive, in_house_tested, third_party_tested, used].

Responses
200

OK

400

Bad Request

put/{state}/v1/config/strains/{id}
Request samples
application/json
{
  • "license": {
    },
  • "name": "Spring Breeze 83",
  • "cannabinoids": {
    }
}
Response samples
application/json
{
  • "results": {
    },
  • "warnings": [ ]
}