Get Active Courier
This endpoint can retrieve active courier from related shop.
Path
get
/v1/logistic/fs/:fs_id/active-info
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
fs_id | Integer | Required | path | Fulfillment service unique identifier |
shop_id | Integer | Required | body | Shop unique identifier |
Example Request
- Curl
curl -X GET \
'https://fs.tokopedia.net/v1/logistic/fs/13004/active-info??shop_id=479573 ' \
-H 'Authorization: Bearer EUqcir9oRCqNr_9OuvZgkg'
Response Parameters
Name | Type | Demo Value | Description |
---|---|---|---|
Shops | Object Array |
Success Response Examples
{
"header": {
"process_time": 0,
"messages": "Your request has been processed successfully"
},
"data": {
"Shops": [
{
"ShopID": 479573,
"ShipmentInfos": [
{
"ShipmentID": 1,
"ShipmentName": "JNE",
"ShipmentCode": "jne",
"ShipmentAvailable": 1,
"ShipmentImage": "https://ecs7.tokopedia.net/img/kurir-jne.png",
"ShipmentPackages": [
{
"IsAvailable": 1,
"ProductName": "Reguler",
"ShippingProductID": 1
},
{
"IsAvailable": 1,
"ProductName": "YES",
"ShippingProductID": 6
}
],
"AWBStatus": 1
},
{
"ShipmentID": 2,
"ShipmentName": "TIKI",
"ShipmentCode": "tiki",
"ShipmentAvailable": 1,
"ShipmentImage": "https://ecs7.tokopedia.net/img/kurir-tiki.png",
"ShipmentPackages": [
{
"IsAvailable": 1,
"ProductName": "Reguler",
"ShippingProductID": 3
},
{
"IsAvailable": 1,
"ProductName": "Over Night Service",
"ShippingProductID": 16
}
]
},
{
"ShipmentID": 11,
"ShipmentName": "SiCepat",
"ShipmentCode": "sicepat",
"ShipmentAvailable": 1,
"ShipmentImage": "https://ecs7.tokopedia.net/img/kurir-sicepat.png",
"ShipmentPackages": [
{
"IsAvailable": 1,
"ProductName": "Regular Package",
"ShippingProductID": 18
},
{
"IsAvailable": 1,
"ProductName": "BEST",
"ShippingProductID": 33
},
{
"IsAvailable": 1,
"ProductName": "GOKIL",
"ShippingProductID": 43
},
{
"IsAvailable": 1,
"ProductName": "Regular Package",
"ShippingProductID": 44
}
]
}
]
}
]
}
}
Error Response Examples
{
"header": {
"process_time": 24,
"messages": "Our server encounters an error, please try again later",
"reason": "fs_id Is Not Associated With Shop ID or Warehouse ID",
"error_code": "LGS_USC_004"
},
"data": null
}