Decogro icon

Decogro

Decogro integration for n8n

Order → Update Order Group Items

AI-generated

Overview

This node operation updates items within a specific group of an existing order in the Decogro system. It is useful for scenarios where you need to modify the details of items grouped under an order, such as changing quantities, colors, sizes, or other item attributes. For example, a user can update the items in a T-shirt order group to reflect new sizes or colors requested by a customer.

Use Case Examples

  1. Updating the quantities and sizes of T-shirts in a specific group of an order.
  2. Changing the color or description of items within an order group to match updated customer requirements.

Properties

Name Meaning
Order ID The ID of the order to update group items for
Group ID The ID of the group to update items for
JSON Body JSON data to send in the request body containing the updated group items information, including columns hidden and item details such as category, color, item number, description, sizes, price, tax status, mockups, and product price.

Output

JSON

  • operation - The operation performed, e.g., updateOrderGroupItems
  • data - The response data from the Decogro API after updating the order group items
  • metadata
    • method - HTTP method used for the request (POST)
    • endpoint - API endpoint used for the request, e.g., order/{orderId}/groups/{groupId}/items
    • timestamp - Timestamp when the request was made

Dependencies

  • Decogro API with base URL and API key credentials

Troubleshooting

  • Ensure the Order ID and Group ID are valid and exist in the Decogro system to avoid 'Unknown operation' or 'Not Found' errors.
  • Validate the JSON Body format before sending to prevent JSON parsing errors.
  • Check API key credentials and permissions if authentication errors occur.
  • If the binary data property for file uploads is missing or incorrect, the node will throw an error; ensure the correct binary property name is provided.

Discussion