Skip to main content

Request Pickup

You can request pick up using this endpoint.

Path

post

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

Request Parameters

ParameterTypeRequiredLocationDescription
fs_id
Integer
Required
path
Fulfillment service id
order_id
Integer
Required
query
Order id
shop_id
Integer
Required
body
Shop id

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

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.364739704,
"messages": "We could not process your request due to malformed request, please check again",
"reason": "You have no permission to access this feature",
"error_code": "LGS_USC_012"
},
"data": null
}

Error Codes

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

Notes

Have a feedback?