Commerce Package v0.1.0
CDES-C
Enterprise Commerce & EDI
GS1 identifiers (GTIN, GLN, SSCC), EDI X12 documents, product catalogs, purchase orders, and chain of custody. Integrates with Square, Dutchie, Treez, Flowhub, Shopify.
pip install cdes-c
Commerce Features
Order Management
Full order lifecycle from cart to delivery with status tracking.
Inventory Sync
Real-time inventory sync between POS, e-commerce, and METRC.
Payment Processing
Support for cannabis-friendly payment processors and ACH.
Delivery Management
Delivery zones, driver assignment, and compliance verification.
Quick Example
from cdes_c import CannabisProduct, PurchaseOrder, ProductCategory
# Create a product
product = CannabisProduct(
sku="BD-3.5G",
gtin="00012345678905",
name="Blue Dream 3.5g",
category=ProductCategory.FLOWER,
strain_name="Blue Dream",
thc_percentage=Decimal("21.5")
)
# Create a purchase order
po = PurchaseOrder(
po_number="PO-2026-001",
buyer_gln="0012345000001",
seller_gln="0098765000001"
) Platform Integrations
POS Systems
Dutchie, Jane, Treez integration
METRC
State compliance tracking sync
Payments
CanPay, Aeropay, Hypur
Delivery
Onfleet, Route4Me integration
Ready to power your cannabis commerce?
Install cdes-c to build compliant e-commerce experiences.
Get Started