Rate an order
zoodex_rate_orderSubmit ratings and comments for a delivered order by first retrieving vendor, courier, and product details, then rating the vendor, courier, products, or platform.
Instructions
Rate a delivered order. First call with target='details' to get the vendor slug, courier id, rating reasons and products. Then submit target='vendor' (rate 1-5, optional product ratings), 'courier' (rate 1-5) or 'zoodex' (comment only).
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": {
"order_id": "<order_id>"
},
"name": "zoodex_rate_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | ||
| target | No | details | |
| comment | No | ||
| reasons | No | Reason ids from the details response. | |
| order_id | Yes | ||
| courier_id | No | ||
| vendor_slug | No | ||
| product_rates | No | Map of product id -> rate 1-5. |