Tokopedia Review
Get Token
Ganti error format get token spt terlampir:
Current response:
HTTP Response 401
{
"status": "ERROR",
"message": "Client ID not found"
}
Expected response:
HTTP Response: 404
{
"status": "ERROR",
"error_id": 411,
"message": "Invalid secret code"
}
Tampilkan error message pada field message
Rate
Jika area tidak ditemukan dimaster rate, tapilkan error atau district tidak ditemukan dimaster.
Current response:
HTTP Response 200
{
"origin": 2278,
"zip_origin": "13650",
"origin_name": "SAWAH BESAR, KOTA JAKARTA PUSAT",
"geoloc_origin": "-6.265526, 106.876715",
"destination": 2278,
"zip_destination": "16519",
"destination_name": "SAWAH BESAR, KOTA JAKARTA PUSAT",
"geoloc_destination": "-6.409246, 106.767069",
"weight": 1000,
"services": [ ]
}
Exprected response:
HTTP Response: 404
{
"error_id": 404,
"error_message": "No Shipping Service found on Origin: 5573, Destination: 5573, weight:1200. "
}
Jika internal error / bad request(missal, token tidak valid)
Expected response:
HTTP Response: 404
{
"error_id": 901,
"error_message": " invalid token xyz "
}
Booking
Jika internal error (bad request), tampilkan sbb
Expected Request
HTTP Response 404
{
"error_id": 901,
"message": "error message here"
}
Mohon jangan ditampilan error sql statement, diconvert ke Bahasa user saja.
Jika order sudah ada di noah, kembalikan nomor order yang sudah existing di data
Tracking
Mapping Status ARK – Tokopedia
Hanya status yang di list dibawah yang tampil di tracking.
Key untuk tracking adalah nomor awb tokopedia (nomor reference ARK)
Cancel Booking
Cancel process hanya bisa dilakukan sebelum status ITEM PICKED BY COURIER.