Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Order → Add Approval to Order
AI-generatedOverview
This node operation adds an approval to an existing order in the Decogro system. It is useful in workflows where an order requires formal approval before proceeding, such as in procurement or production processes. For example, a user can specify an order ID and send approval details like approval ID, message, and send method to request approval for that order.
Use Case Examples
- Adding an approval to an order to notify a manager for review.
- Automating the approval process by sending approval requests when an order reaches a certain status.
Properties
| Name | Meaning |
|---|---|
| Order ID | The ID of the order to add approval to, used to identify the specific order in Decogro. |
| JSON Body | JSON data containing approval details such as approval_id, send_method, and message to be sent in the request body. |
Output
JSON
operation- The operation performed, e.g., 'addApproval'.data- The response data from Decogro API after adding the approval.metadatamethod- HTTP method used for the request, typically 'POST'.endpoint- API endpoint used for the request, e.g., 'order/{orderId}/approvals'.timestamp- Timestamp when the request was made.
Dependencies
- Requires an API key credential for Decogro API authentication.
Troubleshooting
- Ensure the Order ID is valid and exists in Decogro to avoid 'order not found' errors.
- Verify the JSON Body is correctly formatted JSON; invalid JSON will cause request failures.
- Check API key credentials are correctly set and have permissions to add approvals.
- If the node throws an error about missing binary data, ensure the correct binary property name is specified (not applicable for this operation).
Links
- Decogro API Documentation - Add Approval to Order - Official API documentation for adding approval to an order in Decogro.