Skip to main content

Get COB/COD

You can request pick up using this endpoint.

Path

get

/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
per_page
Integer
Optional
query
Per Page configuration

Example Request

curl -X GET \
'https://fs.tokopedia.net/v1/fs/:fs_id/fulfillment_order?shop_id=480876&per_page=1' \
-H 'Authorization: Bearer C-UMqWWXRqaJugr7w5U0zQ' \
-H 'Content-Type: application/json'

Response Parameters

Success Response Examples

{
"header":{
"process_time":0.217673995,
"messages":"Your request has been processed successfully"
},
"data":{
"order_data":[
{
"order":{
"order_id":12543900,
"buyer_id":5512096,
"seller_id":480876,
"payment_id":11677780,
"order_status":0,
"invoice_number":"INV/20191022/XIX/X/29821",
"invoice_pdf_link":"pdf/2019/10/22",
"open_amt":110000
},
"order_history":[
{
"order_hist_id":98968539,
"status":0,
"shipping_date":null,
"create_by":0
},
{
"order_hist_id":98968535,
"status":103,
"shipping_date":null,
"create_by":0
},
{
"order_hist_id":98968534,
"status":100,
"shipping_date":null,
"create_by":0
}
],
"order_detail":[
{
"order_detail_id":33312,
"product_id":15254857,
"product_name":"",
"quantity":1,
"product_price":100000,
"insurance_price":0
}
],
"drop_shipper":{
"order_id":0,
"dropship_name":"",
"dropship_telp":""
},
"type_meta":{
"trade_in":{

},
"vehicle_leasing":{

},
"b2b_enterprise":{

},
"kelontong":{

},
"cod":{

},
"ppp":{

},
"readiness_insurance":{

},
"sampai":{

},
"now":{

}
},
"order_shipment_fulfillment":null,
"booking_data":{
"order_id":0,
"booking_code":"",
"booking_status":0
}
}
],
"next_order_id":12546376,
"first_order_id":12543900
}
}

Error Response Examples

{
"header":{
"process_time":0.000069103,
"messages":"We could not process your request due to malformed request, please check again",
"reason":"invalid shop_id format",
"error_code":"ORD_DLV_006"
},
"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?