This API is designed to retrieve detailed information about items that are eligible for partial refunds. It allows developers to access and display specific product details related to refund eligibility.
Unique identifier for orders on Keeta platform
Example:756823555555859
- https://open.mykeeta.com/api/openhttps://open.mykeeta.com/api/open/order/refund/part/products/preview
curl -i -X POST \
https://open.mykeeta.com/api/open/order/refund/part/products/preview \
-H 'Content-Type: application/json' \
-d '{
"orderViewId": 756823555555859,
"shopId": 466663,
"products": [
{
"orderProductId": 1234534224,
"refundCount": 1
}
]
}'Successful returns partial refundable item details.
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
| Enum Value | Description |
|---|---|
| 0 | The request was executed successfully. |
| Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Example:0
Text description corresponding to the status code, explaining the operation result or error cause to users.
Example:"Success"
Response
{ "code": 0, "message": "Success", "data": { "products": [ … ], "promotionInfoList": [ … ], "refundPrice": { … }, "valuationRule": "Refund formula: [Item price / (Subtotal + Top-up to minimum)] × [Actual payment amount - Tips - Platform fee - Delivery fee]" } }