Skip to main content

Importing and Updating Metrc Packages in Distru

Lucas Judson avatar
Written by Lucas Judson
Updated over a week ago

This uploader is designed to bulk import packages from Metrc into Distru or update metadata on existing package records. It validates against your product setup, compliance data, and license configuration for accuracy.


✅ What You Can Do

  • Import new packages from Metrc into Distru

  • Update metadata on existing packages already imported

  • Associate packages with products, batches, bins, and descriptions

⚠️ Only works for package-tracked products
⚠️ Requires active Metrc package data


🧾 Preparing Your CSV File

🔻 Step 1: Download the Template

  1. Go to Settings > Import Data > Import Packages

  2. Download the template CSV


🧩 Step 2: Fill in Fields

Column

Required

Description

Distru ID

✅ (update only)

Used to update existing packages

Package Number

✅ (create only)

Must match active, unimported package in Metrc

Distru Product Name

✅ (create only)

Must be package-tracked and match exactly

License Number

✅ (create only)

Must match license tied to location

Location Name

✅ (create only)

Must exist and be mapped to license

Distru Batch Number

Optional

Custom batch reference

Expiration Date

Optional

Format: YYYY-MM-DD

Harvest Date

Optional

Format: YYYY-MM-DD

Description

Optional

For notes or tracking context

Bin Names

Optional

Comma-separated. Must match bins in Distru

❌ Do not fill in Package Number, Product, License, or Location for updates
✅ Use ## to nullify a field (e.g. clear a description)


📤 Uploading Your File

  1. Navigate to Import Packages

  2. Choose either Create New or Update Existing

  3. Upload your CSV

  4. Map the fields using the uploader UI

  5. Submit and wait for confirmation

You'll see a summary of successful rows and a downloadable error file for any failures.


🔄 Update Mode Rules

Rule

Description

Distru ID

Must be present

Editable Fields

Expiration Date, Harvest Date, Batch Number, Description, Bins

Non-editable Fields

Product, License, Location, Package Number

Validation checks include:

  • Dates must follow ISO format

  • Bin names must exist if bin tracking is enabled

  • Distru Product must be package-tracked and match Metrc unit type

  • Metrc Package must be active and not yet imported


💡 Pro Tips

  • Avoid duplicated package numbers in your CSV—each row must be unique

  • Updating a package clears bins if you enter ##, or updates them if names are provided

  • Use this tool during Metrc go-lives to rapidly backfill compliance data

Did this answer your question?