Skip to main content

Accept Order (ACK)

Acknowledge the order (fully or partially accept the order).

Path

post

/v1/order/:order_id/fs/:fs_id/ack

Request Parameters

ParameterTypeRequiredLocationDescription
order_id
Integer
Required
path
Order unique identifier
fs_id
Integer
Required
path
Fulfillment service unique identifier
warehouse_id
Integer
Optional
query
Warehouse unique identifier

Example Request

curl -X POST \
https://fs.tokopedia.net/v1/order/12490706/fs/13004/ack \
-H 'Authorization: Bearer OoHgyxcgQ5a1uCbmbbXjjA' \

Response Parameters

NameTypeDemo ValueDescription
data
String
success
Response Message

Success Response Examples

{
"header": {
"process_time": 0.18334048,
"messages": "Your request has been processed successfully"
},
"data": "success",
}

Error Response Examples

{
"header": {
"process_time": 0.18334048,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "Error When Request Accept Order To Ext Service",
"error_code": "ORD_USC_007"
},
"data": null
}

Error Codes

Error CodeError MessageDescription
ORD_API_006
There Are Error From Ext Service
Failed getting response from upstream
ORD_USC_001
Order Status not eligible to accept
Order status is not eligible to be changed to accept order
ORD_USC_002
Order ID is not fulfillment
ORD_USC_003
Order ID from warehouse id is not authenticate
Order ID is not associated with Warehouse ID
ORD_USC_004
Order ID need to be fulfilled by tokocabang
ORD_USC_005
Order ID from shop id is not authenticate
Order ID is not associated with Shop ID
ORD_USC_006
Admin ID Not Found From Shop ID
ORD_USC_007
Error When Request Accept Order To Ext Service
Failed getting response from upstream
ORD_USC_018
Order ID from warehouse id is not authenticate
Order ID is not associated with Warehouse ID
ORD_DLV_002
invalid fs_id format
Invalid fs_id format, please check again
ORD_DLV_005
invalid order_id format
Invalid order_id format, please check again

Have a feedback?