About this integration
Cannabis seed-to-sale ERP for inventory, distribution, and compliance operations. Connect it to any workflow without writing code.
You can choose from 5 triggers, 9 search modules and 8 actions. The connection type is basic authentication.
How to connect
The credential form asks for API Key.
Prefer the interactive builder form? Open it on the app page.
Paste your credentials once — WEXTL® stores them encrypted and reuses the connection across every workflow that needs it.
Enter your credentials below. WEXTL stores them encrypted and uses them only to call the API on your behalf.
Connecting Distru to WEXTL®
| Field | Type | Help |
|---|---|---|
API KeyRequired | password | You can create an API Key via |
Use it in workflow automation
Start with Watch Inventory Levels, then add Create a Stock Adjustment.
The canvas below runs Watch Inventory Levels into Create a Stock Adjustment — watch the video, then drop a node onto the canvas.
Select the Watch Invoices trigger and the workflow fires automatically when the event occurs — no polling required.
Then add Insert a Payment for an Invoice as the next node. Branch, filter, or hand off to other integrations from there.
The integration includes 13 ready-made modules for finance work — each run logs its inputs and outputs for debugging.
Distru workflow on the canvas: Watch Invoices then Insert a Payment for an Invoice
Triggers, searches and actions
Explore the fields available for each Distru trigger, search, and action — 5 triggers, 9 searchs, and 8 actions.
Triggers
Whenever something changes in the app, one of 5 available triggers can start a run immediately.
- Watch Inventory Levels
- Watch Invoices
- Watch Orders
- Watch Products
- Watch Purchases
Searches
9 search modules let you query the app mid-run and feed the results to the next step.
- Get Adjustments
- Get an Invoice
- Get an Order
- Get Contacts
- Get Inventory Levels
Actions
Use 8 action modules to write data back into the app from anywhere in a run.
- Create a Stock Adjustment
- Create or Update an Invoice
- Create or Update an Order
- Create or Update a Product
- Create or Update a Purchase
Explore the fields available for each Distru trigger, search, and action.
Triggers
| Field | Type |
|---|---|
Active | text |
Available | text |
Product ID | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Invoice Datetime | text |
Invoice Number | text |
Items | array |
Order | object |
ID | text |
Order Number | text |
Status | text |
Total | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Paid Amount | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Billing Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Delivery Datetime | text |
Due Datetime | text |
External Notes | text |
ID | text |
Inserted Datetime | date |
Internal Notes | text |
Items | array |
Leaflink Order Number | text |
Order Datetime | text |
Order Number | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Shipping Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Brand | object |
ID | text |
Name | text |
Updated Datetime | text |
Category | object |
ID | text |
Name | text |
Type | text |
Custom Data | array |
Description | text |
ID | text |
Images | array |
Is Active | boolean |
Msrp | text |
Name | text |
Sku | text |
Strain | object |
ID | text |
Name | text |
Subcategory | object |
ID | text |
Name | text |
Unit Price | text |
Unit Type | object |
ID | text |
Name | text |
Units Per Case | text |
Updated Datetime | date |
Vendor | object |
ID | text |
Name | text |
Updated Datetime | text |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Items | array |
Order Datetime | text |
Purchase Number | text |
Status | text |
Total | text |
Updated Datetime | date |
Searches
| Field | Type |
|---|---|
Inserted Datetime | date |
Limit | number |
| Field | Type |
|---|---|
Batch ID | text |
Completion Datetime | text |
Compliance Quantity | text |
Description | text |
ID | text |
License ID | text |
Location ID | text |
Owner ID | text |
Package ID | text |
Product ID | text |
Quantity | text |
Reason | text |
Total Cost | text |
| Field | Type |
|---|---|
Invoice IDRequired | choice |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Invoice Datetime | text |
Invoice Number | text |
Items | array |
Order | object |
ID | text |
Order Number | text |
Status | text |
Total | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Paid Amount | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Order IDRequired | choice |
| Field | Type |
|---|---|
Billing Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Delivery Datetime | text |
Due Datetime | text |
External Notes | text |
ID | text |
Inserted Datetime | date |
Internal Notes | text |
Items | array |
Leaflink Order Number | text |
Order Datetime | text |
Order Number | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Shipping Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Inserted Datetime | date |
Updated Datetime | date |
Limit | number |
| Field | Type |
|---|---|
Company | object |
ID | text |
Custom Data | array |
Email | text |
Full Name | text |
ID | text |
Owner | object |
ID | text |
Phone Number | text |
Title | text |
| Field | Type |
|---|---|
Grouping | choice |
Product IDs | choice |
Limit | number |
| Field | Type |
|---|---|
Active | text |
Available | text |
Product ID | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Due Datetime | date |
Inserted Datetime | date |
Invoice Datetime | date |
Invoice Number | text |
Order ID | choice |
Status | choice |
Updated Datetime | date |
Limit | number |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Invoice Datetime | text |
Invoice Number | text |
Items | array |
Order | object |
ID | text |
Order Number | text |
Status | text |
Total | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Paid Amount | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Delivery Datetime | date |
Due Datetime | date |
Inserted Datetime | date |
Order Datetime | date |
Status | array |
Updated Datetime | date |
Limit | number |
| Field | Type |
|---|---|
Billing Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Delivery Datetime | text |
Due Datetime | text |
External Notes | text |
ID | text |
Inserted Datetime | date |
Internal Notes | text |
Items | array |
Leaflink Order Number | text |
Order Datetime | text |
Order Number | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Shipping Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Inserted Datetime | date |
Updated Datetime | date |
Limit | number |
| Field | Type |
|---|---|
Brand | object |
ID | text |
Name | text |
Updated Datetime | text |
Category | object |
ID | text |
Name | text |
Type | text |
Custom Data | array |
Description | text |
ID | text |
Images | array |
Is Active | boolean |
Msrp | text |
Name | text |
Sku | text |
Strain | object |
ID | text |
Name | text |
Subcategory | object |
ID | text |
Name | text |
Unit Price | text |
Unit Type | object |
ID | text |
Name | text |
Units Per Case | text |
Updated Datetime | date |
Vendor | object |
ID | text |
Name | text |
Updated Datetime | text |
| Field | Type |
|---|---|
Status | choice |
Due DateTime | date |
Inserted DateTime | date |
Order DateTime | date |
Updated DateTime | date |
Limit | number |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Items | array |
Order Datetime | text |
Purchase Number | text |
Status | text |
Total | text |
Updated Datetime | date |
Actions
| Field | Type |
|---|---|
Product ID | choice |
Batch ID | choice |
Package ID | choice |
Quantity | number |
Compliance Quantity | number |
Description | text |
Unit Cost | number |
Completion Datetime | date |
Reason | choice |
Location ID | choice |
| Field | Type |
|---|---|
Batch ID | text |
Completion Datetime | text |
Compliance Quantity | text |
Description | text |
ID | text |
License ID | text |
Location ID | text |
Owner ID | text |
Package ID | text |
Product ID | text |
Quantity | text |
Reason | text |
Total Cost | text |
| Field | Type |
|---|---|
<p style="color: red; border: 1px solid red; padding: 8px;">To update an existing invoice, pass in an existing invoice ID in the id field. When updating an invoice, you must pass in all fields (no sparse update currently supported). Any existing invoice item or charge you do not pass in to items and charges respectively will be deleted</p> | text |
Invoice ID | choice |
Billing Location ID | choice |
Due DateTime | date |
Invoice DateTime | date |
Charges | array |
Items | array |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Invoice Datetime | text |
Invoice Number | text |
Items | array |
Order | object |
ID | text |
Order Number | text |
Status | text |
Total | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Paid Amount | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
<p style="color: red; border: 1px solid red; padding: 8px;">Upsert a single order. To update an existing order, pass in an existing order ID in the id field. When updating an order, you must pass in all fields (no sparse update currently supported). Any existing order item or charge you do not pass in to items and charges respectively will be deleted</p> | text |
Order ID | choice |
Blaze Payment Type | text |
Company ID | choice |
Delivery Datetime | date |
Due Datetime | date |
External Notes | text |
Order Datetime | date |
Charges | array |
Items | array |
Internal Notes | text |
Metrc Transfer Template Transporter Info | text |
Metrc Transfer Template Directions | text |
Metrc Transfer Template Recipient License Number | text |
Metrc Transfer Template Status | text |
Metrc Transfer Template Type | text |
Billing Location ID | choice |
Shipping Location ID | choice |
Owner ID | choice |
Status | choice |
| Field | Type |
|---|---|
Billing Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Creator | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Custom Data | array |
Delivery Datetime | text |
Due Datetime | text |
External Notes | text |
ID | text |
Inserted Datetime | date |
Internal Notes | text |
Items | array |
Leaflink Order Number | text |
Order Datetime | text |
Order Number | text |
Owner | object |
Banned | boolean |
Email | text |
Full Name | text |
ID | text |
Role | object |
Shipping Location | object |
Address | text |
Company ID | text |
ID | text |
License ID | text |
Name | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
<p style="color: red; border: 1px solid red; padding: 8px;">Upsert a single product. To update an existing product, pass in an existing product ID in the id field. When updating a product, you must pass in all fields (no sparse update currently supported)</p> | text |
Product ID | choice |
Inventory Tracking Method | choice |
SKU | text |
Name | text |
Vendor ID | text |
Category ID | text |
Unit Type ID | text |
Unit Price | number |
Description | text |
UPC | text |
Subcategory ID | text |
Group ID | text |
Brand ID | text |
Quantity Available Threshold Min | number |
Quantity Available Threshold Max | number |
Units Per Case | number |
Unit Cost | number |
MSRP | number |
Wholesale Unit Price | number |
| Field | Type |
|---|---|
Brand | object |
ID | text |
Name | text |
Updated Datetime | text |
Category | object |
ID | text |
Name | text |
Type | text |
Custom Data | array |
Description | text |
ID | text |
Images | array |
Is Active | boolean |
Msrp | text |
Name | text |
Sku | text |
Strain | object |
ID | text |
Name | text |
Subcategory | object |
ID | text |
Name | text |
Unit Price | text |
Unit Type | object |
ID | text |
Name | text |
Units Per Case | text |
Updated Datetime | date |
Vendor | object |
ID | text |
Name | text |
Updated Datetime | text |
| Field | Type |
|---|---|
<p style="color: red; border: 1px solid red; padding: 8px;">Upsert a single purchase order. To update an existing purchase order, pass in an existing purchase order ID in the id field. When updating a purchase order, you must pass in all fields (no sparse update currently supported). Any existing order item or charge you do not pass in to items and charges respectively will be deleted</p> | text |
Purchase ID | choice |
Description | text |
Location ID | choice |
Billing Location ID | choice |
Company ID | choice |
Order DateTime | date |
Due DateTime | date |
Charges | array |
Items | array |
| Field | Type |
|---|---|
Charges | array |
Company | object |
ID | text |
Name | text |
Updated Datetime | text |
Custom Data | array |
Due Datetime | text |
ID | text |
Inserted Datetime | date |
Items | array |
Order Datetime | text |
Purchase Number | text |
Status | text |
Total | text |
Updated Datetime | date |
| Field | Type |
|---|---|
Invoice IDRequired | choice |
Payment Method IDRequired | choice |
AmountRequired | number |
Payment DateRequired | date |
DescriptionRequired | text |
Quickbooks Deposit Account ID | text |
Quickbooks Deposit Account Name | text |
| Field | Type |
|---|---|
Amount | text |
Description | text |
ID | text |
Inserted Datetime | date |
Invoice ID | text |
Payment Date | date |
Payment Method | object |
ID | text |
Name | text |
Payment Number | text |
Quickbooks Deposit Account ID | text |
| Field | Type |
|---|---|
Purchase IDRequired | choice |
Payment Method IDRequired | choice |
AmountRequired | number |
Payment DateRequired | date |
DescriptionRequired | text |
Quickbooks Deposit Account ID | text |
Quickbooks Deposit Account Name | text |
| Field | Type |
|---|---|
Amount | text |
Description | text |
ID | text |
Inserted Datetime | date |
Payment Date | text |
Payment Method | object |
ID | text |
Name | text |
Payment Number | text |
Purchase ID | text |
Quickbooks Deposit Account ID | text |
| Field | Type |
|---|---|
URLRequired | text |
MethodRequired | choice |
Headers | array |
Header | object |
Query String | array |
Parameter | object |
Body | text |
| Field | Type |
|---|---|
Body | text |
Headers | object |
Status code | number |



