Approve an order action
approve_order_actionApprove an order action waiting for approval (status pending_approval), as the signed-in teammate: Aide runs it on the Shopify store now, so a refund is paid and a cancellation happens. Agents can approve only refunds within the workspace's approval limit. The result is the action with its new status. Calling it again does not run the action twice: once it is no longer waiting for approval, the call is refused with not_pending_approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"actionId": "<actionId>"
},
"name": "approve_order_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actionId | Yes | The order action id, from list_order_actions or list_conversation_order_actions. |