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
Strains → Get Many
AI-generatedOverview
This node interacts with the Distru Public API to retrieve multiple strain records. It supports pagination and filtering by creation and last modified datetime ranges, making it useful for users who need to fetch large sets of strain data with specific criteria from the Distru system.
Use Case Examples
- A cannabis distributor wants to fetch a list of all strains added or updated within a certain date range for inventory management.
- A compliance officer needs to retrieve strain data in batches of 5000 to audit product details.
Properties
| Name | Meaning |
|---|---|
| Page Number | Page number for pagination to specify which page of results to retrieve. |
| Page Size | Number of items per page to control the size of each data batch returned. |
| Inserted Datetime | Filter strains by their creation datetime using a comma-separated range (e.g., "2024-01-01T00:00:00Z,2024-06-01T00:00:00Z"). |
| Updated Datetime | Filter strains by their last modified datetime using a comma-separated range. |
Output
JSON
data- Array of strain objects returned from the Distru API.
Dependencies
- Distru Public API v1
- API token credential
Troubleshooting
- Ensure the API token credential is set correctly; otherwise, the node will throw an error indicating the token is missing.
- If the Resource ID is required for other operations but missing, the node will throw an error; for 'Get Many' operation on Strains, no Resource ID is needed.
- If binary data is expected for file upload operations but missing, an error will be thrown; not applicable for this operation.
Links
- Distru Public API Documentation - Official API documentation for understanding available endpoints and parameters.