← Back to all docs

Viridian Sciences API

Viridian Sciences is a seed-to-sale cannabis ERP built on SAP Business One, covering cultivation, processing, distribution, and retail with automated Metrc and BioTrack compliance reporting. An unofficial API lets you programmatically pull inventory, batches, production orders, sales, and compliance records—and push updates like new batches, lab results, transfers, and dispensary transactions back into Viridian Sciences.

By Alex KlarfeldMay 29, 2026

What is Viridian Sciences?

Viridian Sciences is a seed-to-sale cannabis ERP built on the SAP Business One platform, designed for cultivators, producers, processors, distributors, and dispensaries running a complete cannabis or hemp operation. Operators use Viridian Sciences to manage inventory and warehousing, material requirements planning, production and processing, batch and serialized item tracking, lab testing, labeling, accounting, and purchasing—while data flows automatically to state compliance systems like Metrc and BioTrack to eliminate double entry.

Core product areas include:

  • Cultivation tracking (plants, harvests, growth phases, and regulatory reporting)
  • Processing and manufacturing (batch & serialized item management, MRP, production planning, lab testing, labeling)
  • Inventory and warehouse management with batch, serialized, or standard item tracking
  • Distribution and retail/dispensary management (sales, transfers, fulfillment)
  • SAP Business One financials (accounting, purchasing, sales and purchase contracts, cash flow)
  • Compliance integration with Metrc and BioTrack plus 100+ out-of-box automated reports

Common data entities:

  • Inventory Items, Batches, Serialized Items, Lots, Warehouses
  • Plants, Harvests, Production Orders, Bills of Materials
  • Lab Tests, Certificates of Analysis, Labels
  • Sales Orders, Purchase Orders, Invoices, Transfers
  • Metrc/BioTrack compliance records and state reporting submissions

The Viridian Sciences Integration Challenge

Cannabis operators run mission-critical workflows on Viridian Sciences daily, but turning a configured SAP Business One ERP into API-driven automation is non-trivial:

  • SAP Business One foundation: Underlying B1 objects, DI/Service Layer access, and add-on customizations vary by deployment and partner configuration
  • Per-operator customization: Product definitions, item tracking modes (batch, serialized, standard), and report sets are tailored per facility
  • State compliance gates: Data must reconcile with Metrc and BioTrack across multiple states, each with its own license types and reporting rules
  • Multi-stage object models: Cultivation, processing, distribution, and retail each carry their own entities, IDs, and lifecycle states
  • Authentication complexity: B1 user sessions and partner-hosted deployments complicate headless automation
  • Batch and serialized traceability: Seed-to-sale lineage requires precise batch, lot, and serial handling with audit trails for every movement

How Supergood Creates Viridian Sciences APIs

Supergood reverse-engineers authenticated browser flows and the SAP Business One surfaces behind your Viridian Sciences deployment to deliver a resilient API layer across cultivation, processing, distribution, and retail—reconciled with your state compliance system.

  • Handles username/password and MFA securely within a managed session
  • Maintains session continuity with automated refresh and change detection
  • Normalizes responses across inventory, batches, production, sales, and compliance so you integrate once and rely on consistent objects
  • Aligns with your item-tracking modes, custom fields, and entitlements to ensure compliant, accurate access

Use Viridian Sciences with AI agents: Viridian Sciences MCP Server →

Getting Started

  • Schedule Integration Assessment

Book a 30-minute session to confirm your modules, item-tracking modes, license types, and authentication model.

  • Supergood Generates and Validates Your API

We deliver a hardened Viridian Sciences adapter tailored to your SAP Business One configuration and entitlements.

  • Deploy with Monitoring

Go live with continuous monitoring and automatic adjustments as Viridian Sciences and your compliance system evolve.

VIRIDIAN SCIENCES ON THE API REPORT CARD

Potential API Endpoints

Authentication

POST/authenticate

Authenticate to a Viridian Sciences (SAP Business One) deployment using username/password or MFA and obtain a session token for downstream calls.

Inventory

GET/inventory

List inventory items across warehouses with filters for batch, serialized, or standard item tracking, status, and product type.

Inventory

GET/batches

Retrieve batch and lot records with quantities, lineage, lab status, and warehouse location for seed-to-sale traceability.

Production

POST/create_production_order

Create a production or processing order against a bill of materials and configured product definition.

Compliance

GET/compliance_reports

Pull Metrc and BioTrack compliance records and state reporting submissions for cultivation, processing, distribution, and retail.

Sales

GET/sales_orders

Retrieve sales orders, transfers, and dispensary transactions with customer, fulfillment, and payment details.

Use Cases

Sync inventory and batch data across the operation

- Pull inventory items, batches, lots, and serialized identifiers from every warehouse into a single source of truth - Stream harvest, production, and transfer events to downstream BI and demand-planning tools - Reconcile on-hand quantities against state compliance balances to catch discrepancies early

Automate Metrc and BioTrack compliance reporting

- Push batch, transfer, and disposal events to Metrc or BioTrack without portal double entry - Pull compliance submission status and reconcile package tags against ERP inventory - Surface reporting exceptions and license-type rule violations to operations dashboards

Streamline processing and lab workflows

- Create production orders and pull bill-of-materials consumption back for yield analysis - Attach lab test results and certificates of analysis to batches and finished goods - Trigger labeling and packaging workflows once a batch passes testing

Connect dispensary sales to finance and CRM

- Sync sales orders, transfers, and dispensary transactions into accounting and CRM systems - Match purchase orders and vendor invoices against SAP Business One financials - Surface fast-moving and aging inventory to retention and merchandising workflows

Technical Requirements

Authentication

Username/password and MFA handled in a managed SAP Business One session

Connectivity

Authenticated browser flows plus SAP Business One surfaces behind the Viridian Sciences deployment

Response format

Normalized JSON across inventory, batches, production, sales, and compliance objects

Rate limits

Adaptive throttling tuned to your B1 deployment to avoid server-side limits

Session management

Automatic session refresh, MFA replay handling, and credential rotation

Data freshness

Near real-time pulls for inventory, batches, and sales with optional scheduled batch syncs

Security

Encrypted credential vault, scoped access tokens, SOC 2-aligned controls, and audit logging

Webhooks

Event-style callbacks for batch creation, lab results, transfers, sales, and compliance submissions

Latency

Sub-second reads on cached entities; multi-second writes when posting through production and compliance workflows

Throughput

Horizontally scaled workers sized to multi-facility cultivation, processing, and retail volume

Reliability

Retry, backoff, and idempotency keys for production orders, transfers, and compliance submissions

Adaptation

Continuous monitoring of Viridian Sciences releases, SAP Business One updates, and Metrc/BioTrack rule changes

Frequently asked questions

Yes. Viridian Sciences is built on SAP Business One, and Supergood works against the authenticated surfaces of your specific deployment—preserving your add-ons, custom fields, and item-tracking configuration rather than forcing a generic schema.

Yes. Compliance records and state reporting submissions are exposed through the same normalized API surface, so you can reconcile ERP inventory against Metrc or BioTrack balances and automate reporting across license types and states.

Yes. Supergood adapts to whichever tracking mode each item uses—batches, serialized identifiers, or standard items—so seed-to-sale lineage stays intact across cultivation, processing, distribution, and retail.

Yes. You can pull inventory, batches, production, sales, and compliance records, and push updates like new batches, lab results, transfers, and dispensary transactions back into Viridian Sciences.

Each deployment is profiled against its configured product definitions, report sets, and entitlements. Supergood preserves operator-specific fields and lifecycle states instead of assuming a one-size-fits-all model.

Ready to get a real API?