Actions35
- Adjustments Actions
- Assemblies Actions
- Batches Actions
- Companies Actions
- Contacts Actions
- Custom Fields Actions
- File Attachments Actions
- Inventory Actions
- Invoices Actions
- Locations Actions
- Orders Actions
- Packages Actions
- Payment Methods Actions
- Product POS Mappings Actions
- Products Actions
- Purchases Actions
- Strains Actions
- Test Results Actions
- Users Actions
Inventory → Get Many
AI-generatedOverview
This node operation retrieves grouped inventory data from the Distru API. It allows users to specify grouping attributes such as Product, Location, and Batch Number to organize the inventory data accordingly. This operation is useful for scenarios where users need to analyze inventory distribution across different products, locations, or batches, such as in warehouse management or stock reporting.
Use Case Examples
- A warehouse manager wants to get inventory counts grouped by product and location to understand stock levels at each site.
- A supply chain analyst needs to retrieve inventory grouped by product and batch number to track batch-specific stock for quality control.
Properties
| Name | Meaning |
|---|---|
| Grouping | Attributes to group inventory by, with Product being required. Options include Product, Location, and Batch Number. |
| Additional Fields | Optional filters and pagination settings for the inventory query, including product IDs, location IDs, batch IDs, page number, and page size. |
Output
JSON
json- The grouped inventory data returned from the Distru API, structured according to the specified grouping attributes and filters.
Dependencies
- Distru Public API v1
- An API token credential for authentication
Troubleshooting
- Ensure the API token credential is set correctly; otherwise, the node will throw an error indicating the token is missing.
- If the required 'Product' grouping attribute is not selected, the API request may fail or return incomplete data.
- Check that the resource ID is provided if the operation requires it, although for this operation it is not required.
- For large datasets, adjust the page size and page number to manage pagination effectively.
Links
- Distru API Inventory Documentation - Official API documentation for inventory endpoints and parameters.