Get Partner WSN Data
This endpoint used to getting artner WSN data.
Path
get
/fulfillment/partner/fs/:fs_id/feature/wsn/data
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
fs_id | Integer | Required | path | Fulfillment service ID |
wsn_id | Integer | Required | query | WSN ID |
Example Request
curl --location --request GET 'https://fs.tokopedia.net/fulfillment/partner/fs/1001/feature/wsn/data?wsn_id=7' \
--header 'Authorization: Bearer C-UMqWWXRqaJugr7w5U0zQ'
Response Parameters
Success Response Examples
{
"status": "OK",
"config": null,
"server_process_time": "",
"data": {
"wsn_id": 7,
"wsn_ref_num": "WSN-DODOLGARUTCHANGE/14012021/WAREHOUSETESTCIBITUNG/8805280729",
"shop_id": 480876,
"partner_id": 1,
"warehouse_id": 19505,
"warehouse_pickup_id": 19505,
"warehouse_pickup_name": "Warehouse Test Cibitung",
"warehouse_name": "Warehouse Test Cibitung",
"submission_date": "2021-01-15T00:00:00Z",
"pickup_time_est": "2021-01-22T13:00:00Z",
"fleet_option_id": 3,
"additional_notes": "",
"file_url": "",
"status": 100,
"status_text": "WSN Created",
"total_quantity": 10,
"created_at": "2021-01-14T11:28:41Z",
"updated_at": "",
"detail": [
{
"wsn_id": 7,
"product_id": 15389282,
"quantity_picking": 0,
"quantity_pickup": 0,
"quantity_submitted": 10,
"status": 100,
"created_at": "2021-01-14T11:28:41Z",
"updated_at": "",
"product_detail": {
"sku": "ff001",
"name": "fulfillment-1",
"product_url": "https://staging.tokopedia.com/dodolgarut/fulfillment-1",
"picture_url": "https://ecs7.tokopedia.net/img/cache/200-square/product-1/2020/6/23/8968586/8968586_58494d44-b63f-4ac0-875d-811d008590ed_2048_2048",
"product_price": 0
}
}
],
"more_detail_exist": false,
"can_print": false,
"can_resubmit": false,
"suggestion_date": {
"String": "",
"Valid": false
},
"reject_reason": "",
"volume_withdrawal_items": 0,
"vehicle_suggestion": "",
"actual_pickup_time": {
"String": "",
"Valid": false
},
"bd_approval_time": ""
}
}
Error Response Examples
Error Codes
Notes
WSN Status Code
Code | Description |
---|---|
0 | Inactive |
5 | Not deducted |
100 | Created |
200 | BD Approved |
210 | BD Auto Approved |
250 | Partner Approved |
280 | Partner Rejected |
300 | Picking |
400 | In Transit |
440 | Ready for Pickup |
480 | Picked Up |
500 | Finish |