This API provides comprehensive order management capabilities for Keeta platform integration, including order operations, refund management, and real-time notifications.
Keeta Order Management API (v.1.0.0)
https://open.mykeeta.com/api/open/
Request
This webhook is sent by Keeta to notify the developer's system that a new order has been placed.
Event ID: 1001
Notes: In the event that Keeta's platform sends a new order notification but does not receive an acknowledgment from the developer's system, Keeta will attempt to resend the notification up to a maximum of three additional times.
https://open.mykeeta.com/api/open/orderPlacedNotification
{ "orderInfo": { "baseOrder": { … }, "merchantOrder": { … }, "merchantOrderDeliveries": [ … ], "deliveryInfos": [ … ], "orderPromotionDtlList": [ … ], "refundInfos": [ … ], "recipientInfo": { … }, "feeDtl": { … }, "rebates": { … }, "rebatesTag": true, "products": [ … ], "bigOrderTag": true, "subOrderInfoList": [ … ] } }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
https://open.mykeeta.com/api/open/orderAcceptanceNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "status": 30, "opTime": 1751448108144 }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
https://open.mykeeta.com/api/open/orderCompletionNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "status": 40, "opTime": 1751448108144 }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
Time when the event occurred, specified as milliseconds since Jan 1, 1970 (Unix epoch)
https://open.mykeeta.com/api/open/orderCancellationNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "status": 50, "opTime": 1751448108144, "cancelReason": "Customer cancel the order", "opType": 10 }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
Unique identifier for the after-sales application
Indicates if this is an appealed refund request
Enum Value | Description |
---|---|
0 | indicates a standard refund request |
1 | indicates a customer appeal case (requires platform intervention) |
The pictures field contains a JSON-formatted array string that stores URLs of images uploaded by customers as evidence for their refund requests. This field supports a maximum of 9 image URLs, with each URL separated by commas and properly escaped within the JSON array structure.
Code representing who initiated the refund request:
Enum Value | Description |
---|---|
0 | System-automated refund |
10 | Customer-initiated refund |
20 | Merchant-initiated refund |
30 | Customer service-initiated refund |
This field represents the code value corresponding to the type of personnel handling this after-sales application:
Enum Value | Description |
---|---|
0 | indicates system-automated processing |
10 | indicates customer-initiated refund |
20 | indicates merchant-initiated refund |
30 | indicates Keeta customer service representative intervention |
This field indicates the reason why the after-sales application has been changed to its current status.
https://open.mykeeta.com/api/open/orderRefundStatusChangeNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "status": 2001, "afterSaleOrderId": 833443425408767, "isAppeal": 0, "pictures": "https://img-ap-hongkong.mykeeta.net/sailorproduct/9c760595674b395e330cf94b0e5068b0111111.jpg", "money": 2800, "currency": "HKD", "applyOpType": 10, "applyReason": "xxx", "handleOpType": 20, "handleReason": "Merchant agree refund", "opTime": 1751448108144 }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
The current operational state of the delivery order in the fulfillment workflow, with the following possible values
Enum Value | Description |
---|---|
0 | (Order Created) - The delivery request has been successfully registered in Keeta's system but rider assignment has not yet begun. |
10 | (Dispatching) - The system is actively searching for and assigning an available rider to fulfill the order. |
20 | (Rider Assigned) - A rider has accepted the delivery task and is preparing to travel to the merchant location. |
25 | (Rider Arrived at Store) - The assigned rider has reached the merchant's physical location and is waiting to collect the order. |
30 | (Order Collected) - The rider has physically received the order package and begun the delivery journey to the customer. |
50 | (Delivery Completed) - The order has been successfully delivered to and acknowledged by the customer. |
99 | (Order Cancelled) - The delivery process was terminated. |
Time when the event occurred, specified as milliseconds since Jan 1, 1970 (Unix epoch)
Identifies large orders requiring split delivery:
When bigOrderTag = True, the order is a "Large Order"
When bigOrderTag = False, the order is a standard single-delivery order
Large Order Definition: Orders exceeding logistical capacity thresholds, necessitating division into sub-orders.
https://open.mykeeta.com/api/open/deliveryStatusChangeNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "logisticsStatus": 10, "opTime": 1751448108144, "courierName": "Pony Ma", "courierPhone": "+96342425335", "bigOrderTag": false, "merchantSubOrderId": 0 }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }
Unique identifier for the after-sales application
Indicates if this is an appealed refund request
Enum Value | Description |
---|---|
0 | Not an appeal |
1 | Customer appeal case |
JSON-formatted array string of image URLs uploaded by customers
Original reason for refund request
Time when the event occurred, specified as milliseconds since Jan 1, 1970 (Unix epoch)
https://open.mykeeta.com/api/open/partialProductRefundStatusChangeNotification
{ "orderViewId": 756823555555859, "shopId": 466663, "status": 5001, "afterSaleOrderId": 833441825390895, "isAppeal": 0, "pictures": "https://img-ap-hongkong.mykeeta.net/sailorproduct/9c760595674b344560cf94b0e5068b19511.jpg", "money": 3620, "currency": "HKD", "applyOpType": 10, "applyReason": "The quantity of delivered goods has decreased; Additional information: No egg tarts available", "handleOpType": 20, "handleReason": "Merchant agree refund", "opTime": 1751448108144, "refundProducts": [ { … } ] }
Request executed successfully
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. |
{ "code": 0, "message": "Success" }