Decogro icon

Decogro

Decogro integration for n8n

Order → Create Order

AI-generated

Overview

This node integrates with the Decogro API to create a new order. It allows users to send detailed order information in JSON format, including customer details, billing and shipping addresses, order info such as dates and payment terms, tax, discounts, shipping costs, line item groups with product details, and additional fees. This node is useful for automating order creation workflows in e-commerce, print-on-demand, or custom merchandise businesses where detailed order data needs to be programmatically submitted to Decogro.

Use Case Examples

  1. Automatically create a new order in Decogro when a customer places an order on an e-commerce platform.
  2. Use the node to batch import orders from another system into Decogro for production and fulfillment.

Properties

Name Meaning
JSON Body The JSON data representing the order details to be sent in the request body. This includes customer info, billing and shipping addresses, order dates, payment terms, tax, discounts, shipping, line item groups, and fees.

Output

JSON

  • operation - The operation performed, e.g., 'createOrder'.
  • data - The response data returned from Decogro after creating the order, containing details of the created order.
  • metadata
    • method - HTTP method used for the request, typically 'POST' for creating an order.
    • endpoint - API endpoint used for the request, e.g., 'order'.
    • timestamp - Timestamp when the request was made.

Dependencies

  • Requires an API key credential for Decogro API authentication.

Troubleshooting

  • Ensure the JSON Body is valid JSON; invalid JSON will cause an error.
  • Check that the API key credential is correctly configured and has permissions to create orders.
  • If the API returns an error, verify that all required fields in the JSON Body are provided and correctly formatted.

Links

Discussion