Distru icon

Distru

Cannabis seed-to-sale ERP for inventory, distribution, and compliance operations.

5 triggers9 searches8 actionsPollingAuth: API key

AI-assisted documentation16 min read

This documentation is compiled from our integration source code, internal specs for Distru, its official API documentation and anonymized requests logs we collect from our support team[2].

Open Distru on WEXTL →

Connecting Distru takes an active account plus an API access token from your account settings — no other setup is required.[3]

  • API KeypasswordRequired

    You can create an API Key via Settings > Integrations > API > Create API Key.

    [1]
  1. Log in to your WEXTL account, add the Distru node module to your workflow, and click Create new credential.
  2. Optional: In the Credential name field, enter a name for the credential.
  3. Enter the authentication credentials you copied from your Distru account, or follow the on-screen instructions to create the credential.
  4. If prompted, authenticate your account and confirm access.
  5. If you want to make changes to your credential in the future, follow the steps in Manage credentials →
Connecting Distru to WEXTL®
Video slide demonstrates how to integrate Distru in the WEXTL visual workflow builder.[4]

Notes

Credentials are org-scoped; share them with teammates from the Credentials picker on any of its nodes.For detailed information on connecting an application, see Connect an application →

Watch Inventory LevelsTrigger
Output fields[3]
FieldType
Activetext
Availabletext
Product IDtext
Updated Datetimedate
Watch InvoicesTrigger
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Invoice Datetimetext
Invoice Numbertext
Itemsarray
Orderobject
IDtext
Order Numbertext
Statustext
Totaltext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Paid Amounttext
Statustext
Totaltext
Updated Datetimedate
Watch OrdersTrigger
Output fields[3]
FieldType
Billing Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Delivery Datetimetext
Due Datetimetext
External Notestext
IDtext
Inserted Datetimedate
Internal Notestext
Itemsarray
Leaflink Order Numbertext
Order Datetimetext
Order Numbertext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Shipping Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Statustext
Totaltext
Updated Datetimedate
Watch ProductsTrigger
Output fields[3]
FieldType
Brandobject
IDtext
Nametext
Updated Datetimetext
Categoryobject
IDtext
Nametext
Typetext
Custom Dataarray
Descriptiontext
IDtext
Imagesarray
Is Activeboolean
Msrptext
Nametext
Skutext
Strainobject
IDtext
Nametext
Subcategoryobject
IDtext
Nametext
Unit Pricetext
Unit Typeobject
IDtext
Nametext
Units Per Casetext
Updated Datetimedate
Vendorobject
IDtext
Nametext
Updated Datetimetext
Watch PurchasesTrigger
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Itemsarray
Order Datetimetext
Purchase Numbertext
Statustext
Totaltext
Updated Datetimedate
Get AdjustmentsSearch
Input fields[3]
FieldType
Inserted Datetimedate
Limitnumber
Output fields[3]
FieldType
Batch IDtext
Completion Datetimetext
Compliance Quantitytext
Descriptiontext
IDtext
License IDtext
Location IDtext
Owner IDtext
Package IDtext
Product IDtext
Quantitytext
Reasontext
Total Costtext
Get an InvoiceAction
Input fields[3]
FieldType
Invoice IDRequired
choice
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Invoice Datetimetext
Invoice Numbertext
Itemsarray
Orderobject
IDtext
Order Numbertext
Statustext
Totaltext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Paid Amounttext
Statustext
Totaltext
Updated Datetimedate
Get an OrderAction
Input fields[3]
FieldType
Order IDRequired
choice
Output fields[3]
FieldType
Billing Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Delivery Datetimetext
Due Datetimetext
External Notestext
IDtext
Inserted Datetimedate
Internal Notestext
Itemsarray
Leaflink Order Numbertext
Order Datetimetext
Order Numbertext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Shipping Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Statustext
Totaltext
Updated Datetimedate
Get ContactsSearch
Input fields[3]
FieldType
Inserted Datetimedate
Updated Datetimedate
Limitnumber
Output fields[3]
FieldType
Companyobject
IDtext
Custom Dataarray
Emailtext
Full Nametext
IDtext
Ownerobject
IDtext
Phone Numbertext
Titletext
Get Inventory LevelsSearch
Input fields[3]
FieldType
Groupingchoice
Product IDschoice
Limitnumber
Output fields[3]
FieldType
Activetext
Availabletext
Product IDtext
Updated Datetimedate
Get InvoicesSearch
Input fields[3]
FieldType
Due Datetimedate
Inserted Datetimedate
Invoice Datetimedate
Invoice Numbertext
Order IDchoice
Statuschoice
Updated Datetimedate
Limitnumber
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Invoice Datetimetext
Invoice Numbertext
Itemsarray
Orderobject
IDtext
Order Numbertext
Statustext
Totaltext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Paid Amounttext
Statustext
Totaltext
Updated Datetimedate
Get OrdersSearch
Input fields[3]
FieldType
Delivery Datetimedate
Due Datetimedate
Inserted Datetimedate
Order Datetimedate
Statusarray
Updated Datetimedate
Limitnumber
Output fields[3]
FieldType
Billing Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Delivery Datetimetext
Due Datetimetext
External Notestext
IDtext
Inserted Datetimedate
Internal Notestext
Itemsarray
Leaflink Order Numbertext
Order Datetimetext
Order Numbertext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Shipping Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Statustext
Totaltext
Updated Datetimedate
Get ProductsSearch
Input fields[3]
FieldType
Inserted Datetimedate
Updated Datetimedate
Limitnumber
Output fields[3]
FieldType
Brandobject
IDtext
Nametext
Updated Datetimetext
Categoryobject
IDtext
Nametext
Typetext
Custom Dataarray
Descriptiontext
IDtext
Imagesarray
Is Activeboolean
Msrptext
Nametext
Skutext
Strainobject
IDtext
Nametext
Subcategoryobject
IDtext
Nametext
Unit Pricetext
Unit Typeobject
IDtext
Nametext
Units Per Casetext
Updated Datetimedate
Vendorobject
IDtext
Nametext
Updated Datetimetext
Get PurchasesSearch
Input fields[3]
FieldType
Statuschoice
Due DateTimedate
Inserted DateTimedate
Order DateTimedate
Updated DateTimedate
Limitnumber
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Itemsarray
Order Datetimetext
Purchase Numbertext
Statustext
Totaltext
Updated Datetimedate
Create a Stock AdjustmentAction
Input fields[3]
FieldType
Product IDchoice
Batch IDchoice
Package IDchoice
Quantitynumber
Compliance Quantitynumber
Descriptiontext
Unit Costnumber
Completion Datetimedate
Reasonchoice
Location IDchoice
Output fields[3]
FieldType
Batch IDtext
Completion Datetimetext
Compliance Quantitytext
Descriptiontext
IDtext
License IDtext
Location IDtext
Owner IDtext
Package IDtext
Product IDtext
Quantitytext
Reasontext
Total Costtext
Create or Update a ProductAction
Input fields[3]
FieldType
<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 IDchoice
Inventory Tracking Methodchoice
SKUtext
Nametext
Vendor IDtext
Category IDtext
Unit Type IDtext
Unit Pricenumber
Descriptiontext
UPCtext
Subcategory IDtext
Group IDtext
Brand IDtext
Quantity Available Threshold Minnumber
Quantity Available Threshold Maxnumber
Units Per Casenumber
Unit Costnumber
MSRPnumber
Wholesale Unit Pricenumber
13other input fields
Output fields[3]
FieldType
Brandobject
IDtext
Nametext
Updated Datetimetext
Categoryobject
IDtext
Nametext
Typetext
Custom Dataarray
Descriptiontext
IDtext
Imagesarray
Is Activeboolean
Msrptext
Nametext
Skutext
Strainobject
IDtext
Nametext
Subcategoryobject
IDtext
Nametext
Unit Pricetext
Unit Typeobject
IDtext
Nametext
Units Per Casetext
Updated Datetimedate
Vendorobject
IDtext
Nametext
Updated Datetimetext
Create or Update a PurchaseAction
Input fields[3]
FieldType
<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 IDchoice
Descriptiontext
Location IDchoice
Billing Location IDchoice
Company IDchoice
Order DateTimedate
Due DateTimedate
Chargesarray
Itemsarray
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Itemsarray
Order Datetimetext
Purchase Numbertext
Statustext
Totaltext
Updated Datetimedate
Create or Update an InvoiceAction
Input fields[3]
FieldType
<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 IDchoice
Billing Location IDchoice
Due DateTimedate
Invoice DateTimedate
Chargesarray
Itemsarray
Output fields[3]
FieldType
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Due Datetimetext
IDtext
Inserted Datetimedate
Invoice Datetimetext
Invoice Numbertext
Itemsarray
Orderobject
IDtext
Order Numbertext
Statustext
Totaltext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Paid Amounttext
Statustext
Totaltext
Updated Datetimedate
Create or Update an OrderAction
Input fields[3]
FieldType
<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 IDchoice
Blaze Payment Typetext
Company IDchoice
Delivery Datetimedate
Due Datetimedate
External Notestext
Order Datetimedate
Chargesarray
Itemsarray
Internal Notestext
Metrc Transfer Template Transporter Infotext
Metrc Transfer Template Directionstext
Metrc Transfer Template Recipient License Numbertext
Metrc Transfer Template Statustext
Metrc Transfer Template Typetext
Billing Location IDchoice
Shipping Location IDchoice
Owner IDchoice
Statuschoice
Output fields[3]
FieldType
Billing Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Chargesarray
Companyobject
IDtext
Nametext
Updated Datetimetext
Creatorobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Custom Dataarray
Delivery Datetimetext
Due Datetimetext
External Notestext
IDtext
Inserted Datetimedate
Internal Notestext
Itemsarray
Leaflink Order Numbertext
Order Datetimetext
Order Numbertext
Ownerobject
Bannedboolean
Emailtext
Full Nametext
IDtext
Roleobject
Shipping Locationobject
Addresstext
Company IDtext
IDtext
License IDtext
Nametext
Statustext
Totaltext
Updated Datetimedate
Insert a Payment for a PurchaseAction
Input fields[3]
FieldType
Purchase IDRequired
choice
Payment Method IDRequired
choice
AmountRequired
number
Payment DateRequired
date
DescriptionRequired
text
Quickbooks Deposit Account IDtext
Quickbooks Deposit Account Nametext
Output fields[3]
FieldType
Amounttext
Descriptiontext
IDtext
Inserted Datetimedate
Payment Datetext
Payment Methodobject
IDtext
Nametext
Payment Numbertext
Purchase IDtext
Quickbooks Deposit Account IDtext
Insert a Payment for an InvoiceAction
Input fields[3]
FieldType
Invoice IDRequired
choice
Payment Method IDRequired
choice
AmountRequired
number
Payment DateRequired
date
DescriptionRequired
text
Quickbooks Deposit Account IDtext
Quickbooks Deposit Account Nametext
Output fields[3]
FieldType
Amounttext
Descriptiontext
IDtext
Inserted Datetimedate
Invoice IDtext
Payment Datedate
Payment Methodobject
IDtext
Nametext
Payment Numbertext
Quickbooks Deposit Account IDtext
Make an API Calluniversal
Input fields[3]
FieldType
URLRequired
text
MethodRequired
choice
Headersarray
Headerobject
Query Stringarray
Parameterobject
Bodytext
Output fields[3]
FieldType
Bodytext
Headersobject
Status codenumber

Look for Distru templates in the WEXTL template library.

Browse templates →
  1. WEXTL® Distru Source Code connector implementation.
  2. Our users use cases and automations.
  3. Official API Documentation for Distru.
  4. WEXTL® visual workflow builder data.

Last updated: Jul 23, 2026 22:39