Check return eligibility
check_return_eligibilityCheck live with Shopify what on an order from a conversation can be returned: each line's returnable quantity, whether the return rules block it and the return reasons to choose from, the policy applied and whether a return is already open. permission: missing means the store has not granted Aide the returns permission. Changes nothing.
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": {
"conversationId": "<conversationId>",
"orderId": "<orderId>"
},
"name": "check_return_eligibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order id, from get_conversation_orders or lookup_orders. | |
| conversationId | Yes | The Aide conversation id (`cnv_…`), from find_conversation. |