Create company

Create a company. All companies created with 'parent' company specified are considered a subsidiary of the parent company.

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" "or" "nv" "mt" "co" "mi" "il" "ma" "ri" "nj" "md" "de" "va" "oh" "ky" "al" "ms" "mn" "la" "ok" "sd" "me"
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
name
required
string

name of company.

parent_id
string or null

This parameter allows building the company's network of peer and child/branch companies.

required
Array of objects (contact_company.)

The main contact for this company

web_site
string

The website url of the company.

Responses
200

OK

400

Bad Request

post/{state}/v1/config/companies
Request samples
application/json
{
  • "name": "GCV Cannabis",
  • "parent_id": "a06a7a59e8b74545a960b7c026c0e433",
  • "contacts": [
    ],
}
Response samples
application/json
{
  • "results": {
    },
  • "warnings": [ ]
}