Built by CodesClue

Amaze Cannabis

A custom wholesale platform for a Missouri cannabis brand: dispensaries order online, staff run pricing, credits, deliveries and Metrc from one admin.

Industry
Cannabis wholesale
What we did
Wholesale ordering platform with Metrc and QuickBooks sync
Platforms
Web, Cloud
Stack

In numbers

sides in one platform: buyer storefront and staff admin
2
discount types: tiered, percentage and fixed price
3
months of releases since January 2026
10

Overview

Amaze Cannabis is a family-owned cultivation and manufacturing brand in Missouri that sells to dispensaries across the state. CodesClue built the platform its wholesale business runs on. Dispensary buyers order through their own storefront, and Amaze staff run the wholesale side from an admin. Work started in January 2026, and we still develop and support the platform.

A cannabis brand cannot sell wholesale the way most companies do. In Missouri, Metrc is every licensee's official system of record, so each package Amaze sells must match a package the state already knows about. The order, the invoice and the Metrc record all have to agree.

Pricing is personal too. One dispensary buys on tiered prices, another has a fixed price on a jar size, and a third gets a front-load discount. Some deals stack with others and some do not. Some buyers also carry credit from earlier orders. Then the goods have to reach the stores, some on Amaze's own routes and some with outside carriers.

Amaze's buyer and sales history sat in its previous CRM. We moved it across with import scripts and built the new platform around the way Amaze already sells.

Amaze discount builder on a laptop, with tiered, percentage and fixed-price discount cards and Simulate buttons

Our approach

We gave each side of the sale its own screens and kept one shared catalog behind both.

  • A storefront for buyers, an admin for staff

    Dispensary buyers sign in to shop, track their orders and open support tickets. Staff get an admin built around their day, from customers and orders to invoices and delivery routes. User roles and an audit log record who changed what.

  • Catalog data pulled from Metrc

    Missouri treats Metrc as the official record, so the platform reads package, item, strain and transfer data straight from Metrc and staff do not type it twice.

  • A documented API

    The platform has its own API with Swagger documentation, so internal tools and future integrations read the same data the admin uses.

  • A stack Amaze can keep

    The app is Node.js and Express with server-rendered EJS pages. Data sits in PostgreSQL on Amazon RDS, files go to S3, and PM2 keeps the processes up.

Amaze products screen on a laptop with concentrate jars, batch and inventory tools, and a notice bar for items that need review
Amaze product catalog in grid view on a laptop, with prices and stock for each product
Amaze account credits list on a laptop with original amount, remaining balance, status and expiry for each credit

Challenges and how we solved them

Wholesale cannabis has state rules, buyer-by-buyer deals and deliveries across the state, all in the same order.

Each answer lives inside the same platform, so staff do not keep a side spreadsheet for any of it.

  1. Challenge

    Products that drift from Metrc

    A product in the catalog can lose its Metrc package, or a batch can arrive without the item data the state record needs.

    Solution

    Metrc sync with an orphan check

    The sync reconciles Metrc data against the catalog. Orphaned Metrc items and batches with missing item data are flagged at the top of the products screen, with a link to review each list.

  2. Challenge

    A different deal for each buyer

    Discounts come in several kinds, from tiered prices to a fixed price on one product. A deal can apply to every buyer or only a few, and it may or may not stack with another.

    Solution

    A discount builder with Simulate

    Staff build tiered, percentage or fixed-price discounts and decide who gets each one and whether it stacks. Before a discount goes live, they simulate an order to see the final price.

  3. Challenge

    Money owed back to a buyer

    When Amaze owes a dispensary money, that credit has to be tracked until the buyer uses it on a later order.

    Solution

    Account credits with a running balance

    Staff issue a credit to a buyer, and the platform keeps a running balance against the original amount until the credit is used. Each credit also has a status and an optional expiry date.

  4. Challenge

    Deliveries across the state

    Orders go out on Amaze's own routes and with outside carriers, and the two cost money in different ways.

    Solution

    Routes and a delivery map

    Orders are grouped into routes. The dashboard maps deliveries by region and compares the estimated cost of internal routes, priced by the mile, with external deliveries, priced by the stop.

  5. Challenge

    Orders and accounting kept apart

    Every invoice raised in the ordering system also has to exist in the accounting books, with the right customer on it.

    Solution

    QuickBooks sync

    Invoices and customers sync to QuickBooks over OAuth. Webhooks and scheduled jobs pick up changes on either side.

  6. Challenge

    History in the old CRM

    Buyer records and sales history from Amaze's previous CRM could not be left behind.

    Solution

    Import scripts for the old data

    We wrote import scripts that moved buyer and sales records from the old CRM into PostgreSQL before staff switched over.

Amaze admin dashboard on a laptop with a delivery map by region, internal and external delivery cost, and inventory value
Amaze buyer storefront on a tablet with a store picker and filters for category, strain type, brand and THC potency

How it works

A wholesale order moves through the platform in five steps.

  1. A dispensary buyer signs in, picks the store they are ordering for and filters products by category, strain type, brand or THC potency.

  2. The cart applies that buyer's discounts and any credit on the account.

  3. Staff check the order against Metrc packages and create the invoice.

  4. The invoice syncs to QuickBooks and the order is added to a delivery route.

  5. The dashboard tracks deliveries and stock value for the chosen period, with the best-selling products beside them.

Selling cannabis wholesale?

Tell us how you take orders today, how you price for each dispensary and how you report to Metrc. We will reply with the questions we would ask before a build and a first outline of the work.

  1. Answer two quick questions and tell us about the project.
  2. We read it and reply with questions or a plan.
  3. You get a written estimate with milestones before anything is signed.
Or book a 30-min call (opens in a new tab)

    Build together with CodesClue

    Next project

    Subjects Master

    Game-based study guides for teachers, schools and homeschool families: we took over the live platform, made it fast, and keep improving it.

    More work like this

    All 21 case studies

    Cannabis retail Dispensary platform build

    GreenReleaf

    A dispensary platform with live inventory, POS sync and fast checkout.

    38% boost in customer engagement

    • Angular
    • HTML
    • Node.js
    • +3 more

    Cannabis wellness Commerce platform build

    Cannabis Health

    A compliance-ready commerce platform for the cannabis wellness market.

    • Angular
    • HTML
    • MySQL