Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Order → Update Order
AI-generatedOverview
This node integrates with the Decogro API to update an existing order. It allows users to specify the order ID and provide a JSON body with updated order details such as customer information, billing and shipping addresses, order dates, payment terms, tax, discount, shipping, and custom fields. This operation is useful for managing and modifying orders in Decogro, for example, updating customer notes, changing delivery dates, or adjusting order items.
Use Case Examples
- Updating an order's billing and shipping address details.
- Modifying order dates like invoice date or payment due date.
- Adding or changing custom fields and notes on an order.
Properties
| Name | Meaning |
|---|---|
| ID | The ID of the order to update, used to identify which order to modify. |
| JSON Body | The JSON data containing the updated order details to send in the request body, including customer info, order info, tax, discount, shipping, and custom fields. |
Output
JSON
operation- The operation performed, e.g., 'updateOrder'.data- The response data returned from the Decogro API after updating the order.metadatamethod- The HTTP method used for the request, typically 'PATCH' for update.endpoint- The API endpoint used for the update request, e.g., 'order/{id}'.timestamp- The timestamp when the request was made.
Dependencies
- Decogro API with API key authentication
Troubleshooting
- Ensure the order ID provided exists in Decogro; otherwise, the update will fail.
- Validate the JSON body format before sending; invalid JSON will cause errors.
- Check API key credentials are correct and have permissions to update orders.
- If the node throws an error about missing binary data, verify the correct binary property name is used (not applicable for updateOrder).
Links
- Decogro API - Update Order - Official Decogro API documentation for updating orders.