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
Locations → Get Many
AI-generatedOverview
This node interacts with the Distru Public API to retrieve multiple location records. It supports pagination and filtering by creation and last modified datetime ranges, making it useful for scenarios where users need to fetch and process batches of location data from Distru, such as inventory management or logistics tracking.
Use Case Examples
- Fetch the first 1000 locations to synchronize with an internal database.
- Retrieve locations created within a specific date range for reporting purposes.
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 batch of results. |
| Inserted Datetime | Filter locations by their creation datetime using a comma-separated range (e.g., '2024-01-01T00:00:00Z,2024-06-01T00:00:00Z'). |
| Updated Datetime | Filter locations by their last modified datetime using a comma-separated range. |
Output
JSON
json- The retrieved location data objects from the Distru API.
Dependencies
- Distru Public API with an API token credential
Troubleshooting
- Ensure the Distru API token is set correctly; otherwise, the node will throw an error indicating the token is missing.
- If using pagination, verify that the page number and page size are set appropriately to avoid empty or incomplete results.
- When filtering by datetime, ensure the format is correct and the range is valid to get expected results.