Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Metrc API Integration

No security coverage No further development

This module imports data from the Metrc track-and-trace system into Drupal. It mirrors Metrc's data, including packages, harvests, and lab results, by creating corresponding Drupal content. This allows for a read-only, accurate representation of your Metrc data within Drupal, with the option to maintain revisions for historical tracking.

This module uses the Migrate, Migrate Tools, and Migrate Plus modules to grab data from Metrc- (The track-and-trace plant and package compliance system).
You will need to create the appropriate nodes and taxonomy terms in order to import the data from the Metrc API. See the Config files in order to get a list of the data types, field names, and field types. You should also reference the API documentation. Once you get everything setup and have obtained API keys from Metrc. The system mirrors the data in metrc. Specifically, it makes packages, harvests, units of measure, strains, lab test results and applies them to the appropriate harvest, items, transfers, deliveries, etc. You can then maintain an accurate mirror of the metrc data by installing the migrate cron module and running the migrations every few hours. It's setup by default to make revisions to the packages so you can see a history of the activity. This is setup for read access only so there's no chances of messing up your original data.

For additional integration information go to the metrc API help page:
https://api-mi.metrc.com/Documentation/PrintableList

Ask your assistant about Metrc API Integration

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Mar 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 8–9 Mar 2, 2023