Decogro icon

Decogro

Decogro integration for n8n

Order → Create Order Imprint

AI-generated

Overview

This node integrates with the Decogro API to manage orders and related entities. Specifically, the 'Create Order Imprint' operation allows users to create an imprint for a specific order group by sending JSON data describing the imprint details. This is useful in scenarios where detailed imprint information needs to be added to an order group, such as specifying matrix IDs, quantities, notes, and associated files for printing or production purposes.

Use Case Examples

  1. Creating an imprint for a group within an order to specify printing details like color, quantity, and special instructions.
  2. Adding files related to the imprint to an order group for production tracking.

Properties

Name Meaning
Order ID The ID of the order to create imprint for, used to identify the specific order.
Group ID The ID of the group within the order to create the imprint for, specifying the target group.
JSON Body The JSON data sent in the request body containing imprint details such as matrix_id, matrix_column, location_id, quantity, notes, and files.

Output

JSON

  • operation - The operation performed, e.g., createOrderImprint.
  • data - The response data returned from the Decogro API after creating the order imprint.
  • metadata
    • method - HTTP method used for the request, typically POST.
    • endpoint - API endpoint used for the request.
    • timestamp - Timestamp when the request was made.

Dependencies

  • Decogro API with an API key credential

Troubleshooting

  • Ensure the Order ID and Group ID are valid and exist in the Decogro system to avoid errors.
  • Verify that the JSON Body is correctly formatted JSON; invalid JSON will cause the node to throw an error.
  • Check API key credentials and base URL configuration to ensure successful authentication and connectivity.
  • If the node throws an error about missing binary data, confirm that the correct binary property name is provided when uploading files.

Links

Discussion