Update Flag ASN
This endpoint used for updating ASN flag.
Path
post
/fulfillment/partner/fs/:fs_id/asn/flag/update
Request Parameters
Parameter | Type | Required | Location | Description |
---|---|---|---|---|
fs_id | Integer | Required | path | Fulfillment service id |
asn_id | Integer | Required | query | ASN Identifier (ID) |
flag_id | Integer | Required | query | 100 (need extra SLA), 200 (close GR) |
extra_sla_reason_id | Integer | Required for flag_id 100 | query | Extra SLA reason ID, kindly check Notes for ID list |
Example Request
curl -X POST \
https://fs-staging.tokopedia.com/fulfillment/partner/fs/13057/asn/flag/update \
-H 'Authorization: Bearer c:LdwRieP5Rg-dAYFAG' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F asn_id=51771 \
-F flag_id=100 \
-F extra_sla_reason_id=1
Response Parameters
Success Response Examples
{
"status": "OK",
"config": null,
"server_process_time": "",
"data": {
"message": "ASN Updated"
}
}
Error Response Examples
Error Codes
Notes
Extra SLA Reason ID
ID | Dscription |
---|---|
1 | Dibutuhkan layanan tambahan untuk penyimpanan |
2 | Koli produk lebih dari 23kg |
3 | imensi produk melebihi standar (40cmx28cmx28cm) |
4 | Barang belum dikemas berdasarkan gudang tujuan |
5 | Masa kedaluwarsa produk perlu dipastikan |
6 | Perlu identifikasi produk baru di gudang |
7 | Produk perlu identifikasi tambahan |