Reject Buyer Request Cancelation
This endpoint is used to reject the buyer request cancelation when the order has been accepted (400) and before the order has been accepted (600).
Path
post
/v1/order/:order_id/fs/:fs_id/reject-cancel?shop_id=:shop_id
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
order_id | Integer | Required | path | Order unique identifier |
fs_id | Integer | Required | path | Fulfillment service unique identifier |
shop_id | Integer | Required | query | Shop unique identifier |
Example Request
- Curl
curl -X POST \
https://fs.tokopedia.net/v1/order/1598900966/fs/12345/reject-cancel?shop_id=11235257 \
-H 'Authorization: Bearer OoHgyxcgQ5a1uCbmbbXjjA' \
-H 'Content-Type: application/json' \
Response Parameters
Name | Type | Demo Value | Description |
---|---|---|---|
String | success | Response Message |
Success Response Examples
{
"header": {
"process_time": 0.18334048,
"messages": "Your request has been processed successfully"
},
"data": {
"success": true
},
}
Error Response Examples
{
"header": {
"process_time": 0.12873117,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "FS ID not associated with Shop ID",
"error_code": "ORD_USC_024"
},
"data": null
}
Error Codes
Error Code | Error Message | Description |
---|---|---|
ORD_API_016 | FS ID not authorized to reject cancel request | FS ID is not eligible to reject the buyer request cancelation |
ORD_USC_024 | FS ID not associated with Shop ID | FS ID is not associated with Shop ID |