Sample Responses

Product API

GET Endpoints for a List of Products

{
    "resultCode": "SUCCESS",
    "resultReason": null,
    "resultDetail": null,
    "data": {
        "product_id": "7b9406c0-0621-11e8-b4e9-02429027d658",
        "product_status": "ACTIVE",
        "last_updated_at": "2021-07-27T09:04:27.487-07:00",
        "sellable_quantity": 111.0,
        "sellable_quantity_detail": [
            {
                "inventory_type": "ADULT",
                "location": "FRONT OF HOUSE",
                "sellable_quantity": 21.0
            },
            {
                "inventory_type": "MEDICAL",
                "location": "FRONT OF HOUSE",
                "sellable_quantity": 30.0
            },
            {
                "inventory_type": "ADULT",
                "location": "SANTA CRUZ",
                "sellable_quantity": 30.0
            },
            {
                "inventory_type": "ADULT",
                "location": "BUDSENSE REGINA 2",
                "sellable_quantity": 30.0
            }
        ],
        "category_type": "FLOWER",
        "product_configurable_fields": {
            "name": "FORTY ONE",
            "uom": "GRAMS",
            "brand": "BLUE CHIP GENETICS",
            "size": null,
            "amount": 1.0,
            "classification": "I/S",
            "total_mg_thc": 0.0,
            "total_mg_cbd": 0.0,
            "subtype": "PRE-PACK",
            "total_flower_weight_g": 3.5,
            "external_id": ""
        },
        "pricing": {
            "price_type": "FLAT",
            "price_sell": 54.99,
            "tier_name": null
        },
        "discounts": [
            {
                "discount_id": "09ed5434-159d-476d-816e-b2527e74157d",
                "discount_title": "TEST DISCOUNT",
                "discount_amount": 10.0,
                "discount_method": "PERCENT"
            }
        ],
        "attributes": {
            "general": [
                "BUDTENDER'S FAVORITE",
                "TESTING"
            ],
            "flavors": [
                "SWEET",
                "TROPICAL"
            ],
            "effects": [
                "RELAXING"
            ],
            "ingredients": [],
            "internal_tags": [
                "GREENBOX"
            ]
        },
        "product_barcodes": [
            {
                "created_date": "2018-01-30T16:55:51.000-08:00",
                "sku": "z3tM",
                "type": "GENERATED"
            }
        ],
        "e_commerce": {
            "all_images": [
                "https://treezpartnersandbox2.s3.amazonaws.com/product/1e43a152-f84f-4022-a2c6-0c66c86e9e70_7b9406c0-0621-11e8-b4e9-02429027d658_null_27-07-21-09-04-27"
            ],
            "primary_image": "https://treezpartnersandbox2.s3.amazonaws.com/product/1e43a152-f84f-4022-a2c6-0c66c86e9e70_7b9406c0-0621-11e8-b4e9-02429027d658_null_27-07-21-09-04-27",
            "menu_title": "FORTY ONE",
            "product_description": "This is a sample description.  ",
            "minimum_visible_inventory_level": 5,
            "hide_from_menu": false
        },
        "autoupdate_lab_results": true,
        "lab_results": [
            {
                "result_type": "THC",
                "amount": {
                    "minimum_value": 15.0,
                    "maximum_value": 24.2
                },
                "amount_type": "PERCENTAGE"
            }
        ],
        "above_threshold": true,
        "merged_from_product_ids": [],
        "external_references": []
    }
}

GET Endpoint Based on Product Fields

{
    "resultCode": "SUCCESS",
    "resultReason": null,
    "resultDetail": null,
    "data": {
        "total_count": 13,
        "product_fields": {
            "BEVERAGE": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "manufacturer_barcode": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "ELIXIR",
                        "OTHER",
                        "TEA",
                        "COFFEE",
                        "DISSOLVABLE",
                        "TONIC",
                        "JUICE",
                        "SHOT",
                        "BEER",
                        "SODA",
                        "WATER"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "PLANT": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SEEDS",
                        "FRESH WHOLE PLANT",
                        "CLONE"
                    ]
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "PREROLL": {
                "amount": {
                    "required": true,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SHAKE",
                        "FLOWER",
                        "INFUSED"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "MERCH": {
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "BATTERY",
                        "SWEATSHIRT",
                        "HOODIE",
                        "PIPE",
                        "CLOTHING",
                        "OTHER",
                        "DAB RIG",
                        "BEVERAGE",
                        "T SHIRT",
                        "ACCESSORY",
                        "BOOK",
                        "LIGHTER",
                        "VAPORIZER",
                        "SNACK",
                        "BONG",
                        "HAT",
                        "ROLLING PAPERS",
                        "GIFT CARD"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "NON-INV": {
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MEMBERSHIP",
                        "FEE"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "TINCTURE": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "OTHER",
                        "SPRAY",
                        "SYRUP",
                        "DROPPER"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "MISC": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "OTHER",
                        "SUPPOSITORY",
                        "LIQUID",
                        "SOLID"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "TOPICAL": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "OTHER",
                        "OIL",
                        "CREAM",
                        "LOTION",
                        "SPRAY",
                        "SALVE",
                        "BALM",
                        "PATCH",
                        "GEL"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "CARTRIDGE": {
                "amount": {
                    "required": true,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "extraction_method": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SOLVENT",
                        "SOLVENTLESS"
                    ]
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "READY TO USE",
                        "POD",
                        "AIRGRAFT POD",
                        "HANU POD",
                        "510 THREAD",
                        "PAX ERA POD",
                        "G PEN POD",
                        "CCELL"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "FLOWER": {
                "amount": {
                    "required": true,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "PRE-PACK SMALLS",
                        "BAG",
                        "PRE-GROUND",
                        "PRE-PACK",
                        "KIEF"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "PILL": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "OTHER",
                        "CAPSULE",
                        "CHEWABLE",
                        "TABLET"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "EXTRACT": {
                "amount": {
                    "required": true,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "extraction_method": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SOLVENT",
                        "SOLVENTLESS"
                    ]
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "LIVE RESIN BADDER",
                        "THC-A",
                        "CURED RESIN",
                        "HASH ROSIN",
                        "SHATTER",
                        "POWDER HASH",
                        "JELLY",
                        "ISOLATE",
                        "DRY SIFT",
                        "ICE WAX",
                        "WAX",
                        "CAVIAR",
                        "CRUMBLE",
                        "DISTILLATE",
                        "SAUCE",
                        "SORBET",
                        "LIVE RESIN BUDDER",
                        "DIAMONDS",
                        "FSO",
                        "SIFT ROSIN",
                        "BUDDER",
                        "HASH",
                        "LIVE ROSIN",
                        "SUGAR",
                        "RSO",
                        "OTHER",
                        "TEMPLE BALL",
                        "LIVE RESIN",
                        "OIL",
                        "LIVE RESIN SUGAR",
                        "MOON ROCKS",
                        "ICE WATER HASH",
                        "ROSIN BUDDER",
                        "CRYSTALLINE",
                        "BADDER"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": true,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            },
            "EDIBLE": {
                "amount": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "brand": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "classification": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "SATIVA",
                        "INDICA",
                        "CBD",
                        "I/S",
                        "KUSH",
                        "NONE",
                        "S/I",
                        "HYBRID"
                    ]
                },
                "doses": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "external_id": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "menu_title": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "mg_per_dose": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "name": {
                    "required": true,
                    "data_type": "ALPHANUMERIC"
                },
                "size": {
                    "required": false,
                    "data_type": "ALPHANUMERIC"
                },
                "subtype": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "LOZENGE",
                        "SUBLINGUAL",
                        "CHOCOLATE",
                        "CHEW",
                        "HARD CANDY",
                        "MINTS",
                        "SAVORY",
                        "OTHER",
                        "BAKED GOOD",
                        "OIL",
                        "BUTTER",
                        "COOKIE",
                        "GUMMY",
                        "GUM"
                    ]
                },
                "total_flower_weight_g": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_cbd": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "total_mg_thc": {
                    "required": false,
                    "data_type": "DECIMAL"
                },
                "uom": {
                    "required": false,
                    "data_type": "ALPHABETS",
                    "accepted_values": [
                        "MILLIGRAMS",
                        "GRAMS",
                        "LITERS",
                        "MILLILITERS"
                    ]
                },
                "discount": {
                    "required": false,
                    "data_type": "OBJECT",
                    "accepted_values": [
                        "PERCENT",
                        "DOLLAR",
                        "COST",
                        "BOGO"
                    ]
                }
            }
        }
    }
}

POST/PUT Endpoint

{
    "resultCode": "SUCCESS",
    "resultReason": null,
    "resultDetail": null,
    "data": {
        "product_id": "2e132d26-a9b4-495a-a3d8-65d92b28f5b5",
        "product_status": "ACTIVE",
        "last_updated_at": "2021-01-11T15:40:19.583-08:00",
        "sellable_quantity": 0.0,
        "sellable_quantity_detail": [],
        "category_type": "FLOWER",
        "product_configurable_fields": {
            "name": "Blue Dream",
            "uom": "GRAMS",
            "brand": null,
            "size": null,
            "amount": 3.5,
            "classification": null,
            "total_mg_thc": 0.0,
            "total_mg_cbd": 0.0,
            "subtype": "PRE-PACK"
        },
        "pricing": {
            "price_type": "FLAT",
            "price_sell": 45.0,
            "tier_name": null
        },
        "attributes": {
            "general": [],
            "flavors": [],
            "effects": [],
            "ingredients": [],
            "internal_tags": []
        },
        "product_barcodes": [],
        "e_commerce": {
            "all_images": [],
            "primary_image": null,
            "menu_title": null,
            "product_description": null,
            "minimum_visible_inventory_level": 1,
            "hide_from_menu": false
        },
        "autoupdate_lab_results": true,
        "lab_results": [],
        "above_threshold": false,
        "external_references": []
    }
}

What’s Next

Check the Parameter Explained page for definitions of each field

Did this page help you?