Distru icon

Distru

Interact with the Distru Public API v1

Actions35

Locations → Get Many

AI-generated

Overview

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

  1. Fetch the first 1000 locations to synchronize with an internal database.
  2. 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.

Discussion