Skip to main content

Request Pick Up

You can request pick-up using this endpoint when the order has been accepted or the order status is 400. Please make sure that you make the 5-second delay after Accepting the Order before hitting this endpoint.

Path

post

/inventory/v1/fs/:fs_id/pick-up

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service unique identifier
order_id
Integer
Required
body
Order unique identifier
shop_id
Integer
Required
body
Shop unique identifier

Example Request

curl -X POST \
https://fs.tokopedia.net/inventory/v1/fs/13004/pick-up \
-H 'Authorization: Bearer OoHgyxcgQ5a1uCbmbbXjjA' \
-H 'Content-Type: application/json' \
-d '{
"order_id": 180745398,
"shop_id": 1707045
}'

Response Parameters

NameTypeDemo ValueDescription
order_id
Integer
180745398
Order Unique Identifier
shop_id
Integer
1707045
Shop Unique Identifier
request_time
Timestamp
2018-06-12 10:24:00
Request Timestamp
result
String
Terima kasih telah melakukan pengiriman.
Result Message

Success Response Examples

{
"header": {
"process_time": 0.06721941,
"messages": "Your request has been processed successfully"
},
"data": {
"order_id": 180745398,
"shop_id": 1707045,
"request_time": "2018-06-12 10:24:00",
"result": "Terima kasih telah melakukan pengiriman."
}
}

Error Response Examples

{
"header": {
"process_time": 0.208327356,
"messages": "Our server encounters an error, please try again later",
"reason": "Data Not Found",
"error_code": "ORD_API_008"
},
"data": null
}

Error Codes

Error CodeError MessageDescription
ORD_API_008
Data Not Found
Order data not found
SHP_GRPC_001
Failed Send GRPC Request
Failed sending request to upstream
SHP_GRPC_003
Data Not Found
Failed finding data from upstream

Have a feedback?