Decogro icon

Decogro

Decogro integration for n8n

Order → Get Order Items

AI-generated

Overview

This node integrates with the Decogro API to perform various operations related to orders, contacts, companies, files, and administrative settings. Specifically, for the 'Order' resource and 'Get Order Items' operation, it retrieves the items associated with a specified order ID from Decogro. This is useful for workflows that need to fetch detailed order item information for processing, reporting, or further automation.

Use Case Examples

  1. Retrieve all items for a given order to analyze order contents or prepare for shipment.
  2. Fetch order items to update inventory or generate packing lists.

Properties

Name Meaning
Order ID The ID of the order to retrieve items for

Output

JSON

  • operation - The operation performed, e.g., 'getOrderItems'
  • data - The retrieved order items data from Decogro API
  • metadata
    • method - HTTP method used for the API request
    • endpoint - API endpoint called
    • timestamp - Timestamp of the API request

Dependencies

  • Decogro API with API key authentication

Troubleshooting

  • Ensure the provided Order ID exists and is valid; otherwise, the API may return an error or empty data.
  • Check that the API key credential is correctly configured and has sufficient permissions to access order data.
  • If the node throws an 'Invalid JSON in body' error, verify that any JSON input parameters are correctly formatted.
  • For binary file uploads, ensure the specified binary property exists and contains valid data.

Links

Discussion