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
Orders → Get by ID
AI-generatedOverview
This node interacts with the Distru Public API to retrieve detailed information about a specific order by its ID. It is useful in scenarios where you need to fetch order details for processing, reporting, or integration with other systems. For example, you can use this node to get the status, items, charges, and other metadata of an order in your inventory or sales workflow.
Use Case Examples
- Retrieve an order's details by providing its unique Resource ID to automate order tracking and management.
- Fetch order information to synchronize with an external CRM or ERP system.
Properties
| Name | Meaning |
|---|---|
| Resource ID | The unique identifier of the order to retrieve. This is required to specify which order's details to fetch. |
Output
JSON
json- The JSON object containing the order details returned from the Distru API. This includes all relevant data about the order such as items, charges, company information, and status.
Dependencies
- Requires an API token credential for the Distru Public API to authenticate requests.
Troubleshooting
- If the Resource ID is missing or invalid, the node will throw an error indicating that the Resource ID is required.
- If the API token is not set or invalid, the node will throw an error indicating that the Distru API token is not set.
- If the operation specified is unsupported, an error will be thrown.
- If the node is configured to continue on fail, errors will be returned in the output JSON under an 'error' property.