POST
/
licenses
Create a license and associate it with a business
curl --request POST \
  --url https://api-sandbox.synctera.com/v0/licenses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "business_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "customer_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "license_number": 10321,
  "license_type": "MRB",
  "tenant": "abcdef_ghijkl"
}'
{
  "business_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "creation_time": "2010-05-06T12:23:34.321Z",
  "customer_id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
  "id": "7df5c505-b47c-490d-855f-c1b3cd99327f",
  "last_updated_time": "2010-05-06T12:23:34.321Z",
  "last_verified_time": "2023-05-06T12:23:34.321Z",
  "license_classification": "RECREATIONAL_CANNABIS",
  "license_expiration_date": "2023-01-01",
  "license_issuance_date": "2023-01-01",
  "license_number": 10321,
  "license_type": "MRB",
  "license_type_description": "Limited Marijuana Cultivation Facility",
  "licensee_address": "1064 elm street, New York",
  "licensee_name": "Apex Corp",
  "licensing_authority": "Alcohol & Marijuana Control Office",
  "status": "ACCEPTED",
  "tenant": "abcdef_ghijkl"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

license to be created

The body is of type object.

Response

201
application/json

Created license representation.

The response is of type object.