Create strain

Create a strain registered under the license_number provided.

SecurityApiKeyAuth and CustomAuth
Request
path Parameters
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
required
string

Strain name.

required
object

Baseline cannabinoid content of the strain.

required
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, deleted].

Responses
200

OK

400

Bad Request

post/{state}/v1/config/strains
Request samples
application/json
{
  • "license": {
    },
  • "name": "Spring Breeze 84",
  • "cannabinoids": {
    },
  • "contents": {
    },
  • "average_yield": "20",
  • "flowering_time": "7",
  • "gender": "male",
  • "breeder": "Trace",
  • "entity_state": [
    ]
}
Response samples
application/json
{
  • "results": {
    },
  • "warnings": [ ]
}