Skip to content

Green Check Access (1.0.0)

Green Check Access

Overview
Languages
Servers
Mock server
https://developer.greencheckverified.com/_mock/apis/swagger
Sandbox server
https://sandbox-api.greencheckverified.com
Production server
https://prod-api.greencheckverified.com

Authentication

Operations

Service Provider

Operations

CRB Info

Operations

CRB Customers

Operations

CRB Documents

Operations

CRB Inventory

Operations

Get CRB inventory record by ID

Request

Security
access_auth
Path
sp_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

Service Provider Id

crb_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

CRB Id

inventory_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

Inventory Id

Query
expandboolean

Expands the response by including product data related to this resource

curl -i -X GET \
  'https://developer.greencheckverified.com/_mock/apis/swagger/service-providers/{sp_id}/crbs/{crb_id}/inventory/{inventory_id}?expand=true' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Ok

Bodyapplication/json
Any of:
idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
crb_idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
pos_typestringrequired
Enum"Alleaves""Dutchie""Dutchie Wholesale""Cova""Meadow""MJ Freeway""MJ Freeway Wholesale""Greenbits""GrowFlow""GrowFlow Wholesale"
product_idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
namestringrequired

Name of the product

skustring or nullrequired

SKU for the product. May or may not be provided by the POS

barcodestring or nullrequired

The tag from the track and trace system that uniquely identifies this product for tracking purposes. May or may not be provided by the POS

total_quantitynumber(double)>= 0required
pos_updated_datestring or null(date-time)required
pos_updated_date_localstring or null^[2][0][0-9]{2}[-]([0][0-9]|[1][0-2])[-]([0-2...required
gc_created_datestring(date-time)required
gc_updated_datestring(date-time)required
location_dataArray of objects

Location specific quantities. Not all POS systems support location data.

location_data[].​namestring or nullrequired

Location name

location_data[].​quantityinteger(int32)>= 0required
location_data[].​location_idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
location_data[].​pos_location_typestring or nullrequired

Type of location

Response
application/json
{ "id": "d3DEd1A7-3Ce7-aBbe-f373-5af3aCfE6f2d", "crb_id": "4ee0c30E-dCBb-eD1f-B2AA-A8FfEDDC6c3a", "pos_type": "Greenbits", "product_id": null, "name": "Preroll Bulk - GG2B", "sku": "64392902", "barcode": "1A40F0100000191000001750", "total_quantity": 39, "pos_updated_date": null, "pos_updated_date_local": "2023-09-18T20:57:34.917Z", "gc_created_date": "2023-09-18T20:57:34.000Z", "gc_updated_date": "2023-10-31T15:21:57.000Z", "location_data": [ { "name": "Main Store", "quantity": 47, "location_id": "8CEfB8A9-6D96-225a-bFdC-789Ceca05dDd", "pos_location_type": null }, { "name": "Main Inventory", "quantity": 29, "location_id": "FDE9dce1-dD46-aD25-7aa2-65E19c46BA2d", "pos_location_type": null } ] }

Get Inventory by Location

Request

Security
access_auth
Path
sp_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

Service Provider Id

crb_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

CRB Id

location_idstring^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required

Location Id

Query
limitinteger(int32)[ 1 .. 1000 ]

The page size

Default 1000
offsetinteger(int32)>= 0

The page offset

Default 0
datestring^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|...

Inventory snapshot date: yyyy-MM-dd

expandboolean

Expands the response by including product data related to this resource

last_updated_fromstring^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|...

Last updated from date: yyyy-MM-dd

last_updated_tostring^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|...

Last updated to date: yyyy-MM-dd

curl -i -X GET \
  'https://developer.greencheckverified.com/_mock/apis/swagger/service-providers/{sp_id}/crbs/{crb_id}/inventory-locations/{location_id}/inventory?limit=1000&offset=0&date=string&expand=true&last_updated_from=string&last_updated_to=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Ok

Bodyapplication/json
metadataobjectrequired
metadata.​totalinteger(int32)>= 0required
metadata.​countstringrequired

Range of items returned

dataArray of objectsrequired
Any of:
data[].​idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
data[].​crb_idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
data[].​pos_typestringrequired
Enum"Alleaves""Dutchie""Dutchie Wholesale""Cova""Meadow""MJ Freeway""MJ Freeway Wholesale""Greenbits""GrowFlow""GrowFlow Wholesale"
data[].​product_idstring(uuid)^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F...required
data[].​namestringrequired

Name of the product

data[].​skustring or nullrequired

SKU for the product. May or may not be provided by the POS

data[].​barcodestring or nullrequired

The tag from the track and trace system that uniquely identifies this product for tracking purposes. May or may not be provided by the POS

data[].​total_quantitynumber(double)>= 0required
data[].​pos_updated_datestring or null(date-time)required
data[].​pos_updated_date_localstring or null^[2][0][0-9]{2}[-]([0][0-9]|[1][0-2])[-]([0-2...required
data[].​gc_created_datestring(date-time)required
data[].​gc_updated_datestring(date-time)required
data[].​quantityinteger(int32)>= 0required
Response
application/json
{ "data": [ { "product": { "crb_id": "465F5EdB-F5eC-7f4A-EE63-eD8eb6ac2e9f", "id": "ddbAF57d-f3DE-DaFe-B7Cc-bfEBe81EAfb4", "pos_product_id": "officia Duis elit", "pos_type": { "description": "The POS system that this data is sourced from." }, "name": "Rocket Fuel .85 Cart", "gc_product_category_name": "solid", "pos_product_category_name": "Ingestible", "pos_product_subcategory_name": "Concentrate-Chemical-Cured Badder", "pos_strain_name": "Pineapple Upside Down Cake x Fisheye OG", "pos_brand_name": "Trulieve", "medicated": null, "sku": "10563228", "description": "Lineage: Wedding Cake X Animal Mints F1", "gc_net_weight_grams": 49430113.513511345, "pos_unit_of_measure": "Wgt", "price": null, "unit_cost": 35750569.55489508, "pos_updated_date": "2023-02-28T14:00:33.603Z", "pos_updated_date_local": "2023-10-28T11:31:35.563Z", "gc_created_date": "2023-10-31T15:21:57.000Z", "gc_updated_date": "2023-10-31T15:21:57.000Z", "price_tiers": null, "images": null }, "id": "d9D69155-79Ef-f996-e4Cb-5AFecAFcEedA", "crb_id": "f0A4fB6D-F5dB-baB0-d7BA-bF544BD86ef9", "pos_type": "Dutchie", "product_id": null, "name": "Preroll Bulk - GG2B", "sku": "12385689", "barcode": "89600668", "total_quantity": 72377489.59703769, "pos_updated_date": null, "pos_updated_date_local": null, "gc_created_date": "2023-09-18T20:57:34.000Z", "gc_updated_date": "2023-10-31T15:21:57.000Z", "quantity": 16 } ], "metadata": { "count": "100 - 172", "total": 92026448 } }

CRB Inventory Locations

Operations

CRB Products

Operations

CRB Sales

Operations

CRB Templates

Operations

CRB

Operations

Customers

Operations

Documents

Operations

Inventory

Operations

Inventory Locations

Operations

Products

Operations

Sales

Operations