1. 2.API list
LME OPEN API
  • 1.Prepare
    • RSA keys
    • http format
  • 2.API list
    • 1).createOrder
    • 2).order detail
    • 3).Tracing push
    • 4).cancelOrder
    • 5).queryOrderRoute
    • 6).updateOrder
    • 7).queryOrderRouteV2
    • 8).Tracing push V2
    • 9).addressValidate
    • 10).queryLabel
  • 3.SDK
    • java sdk
    • php sdk
  • 4.ERROR CODE MAPPING
  • 5. Deliverable postal codes
    • Australia
    • New Zealand
    • United States
    • Canada
  • 6.Label
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. 2.API list

5).queryOrderRoute

Service capabilities: query order route

request url:host:port/server/gateway/order/queryRoute

SDK request class:QueryOrderRouteRequest

parameter data:

parameter namedescriptionis requiredparameter typeremark
      orderNoTRUEstringorderNo is not empty

demo:

{
    "orderNo":""
}

SDK response class:OpResponse

response data:

parameter namedescriptionparameter typeis required
      codeint32
     messagestring
     displayableboolean
     dataOrderRouteResponseDTOOrderRouteResponseDTO
        orderRoutesarray[OrderRoute]
                 channelstringN
                 orderNostringY
                 actiontracing actionstringY
                 routingDescriptionstringY
                 operatorTimestringY
                 updateTimestringY
                 imageUrlstringN
                 orderLocationstringY
                 utcOperatorTimestringY
                 timeZonestringY
     successboolean

demo:

{
    "code":0,
    "message":"",
    "displayable":true,
    "data":{
        "orderRoutes":[
                {
                    "action":"collect_order",
                    "operatorTime":"2023-04-26 20:43:59",
                    "orderLocation":"FOOTSCRAY",
                    "orderNo":"test",
                    "outOrderNo":"test",
                    "routingDescription":"Parcel arrived at warehouse [warehouse name]",
                    "timeZone":"America/Chicago",
                    "updatedTime":1682559843000,
                    "utcOperatorTime":"2023-04-27 01:43:59"
                },
                {
                    "action":"create_order",
                    "operatorTime":"2023-04-20 03:40:14",
                    "orderLocation":"FOOTSCRAY",
                    "orderNo":"test",
                    "outOrderNo":"test",
                    "routingDescription":"Order created by 【SHEIN】to be collected",
                    "timeZone":"America/Chicago",
                    "updatedTime":1681980014000,
                    "utcOperatorTime":"2023-04-20 08:40:14"
                }
            ]
        },
    "success":true
}

action mapping:

coderoutingDescriptionExplainshown
create_orderOrder created by [sender name]Create orderY
collect_orderParcel arrived at warehouse [warehouse name]Parcel arrived at warehouse [warehouse name]Y
update_orderOrder info updatedOrder info updated
deliver_in_warehoseParcel arrived at warehouse [warehouse name]Parcel arrived in distribute warehourseY
exception_orderOrder exceptionSystem error
damage_orderOrder damagedParcel damaged
order_sorting_finishOrder sortingWarehouse sorting completed
out_warehorse_2Parcel left warehouse [warehouse name] and being delivered by [driver name]Driver pick upY
exception_change_data_1Rescheduled-unable to contact: [deriver name] could not contact recipent and has rescheduled the delivery. Parcel is expected to be redelivered within two days.Driver marks can not finish deliveryY
exception_rejectRejected: You have rejected parcel.Driver marks reject by recipientY
exception_withdrawing_re_in_warehouseYour parcel has been withdrawn according to the sender's requestFHE staff marks withdrawY
exception_loseLost: Your parcel is lost, please wait for our further information.Driver marks lostY
damage_warehouse_outUndelivered, please contact customer service.Parcel damaged and already out of the warehouse
refund_warehouse_outUndelivered, please contact customer service.Parcel withdrawn and already out of the warehouse
sign_inYour parcel has been delivered.Signed by recipientY
sign_imageYour parcel has been delivered.Delivered at front door, other safe place etc.Y
navigation_or_address_errorNavigation error or wrong address, unable to reach destinationDriver marks navigation error or wrong addressY
recipient_address_poboxThe receiving address is a PO BOXDriver marks PO BOXY
no_safe_no_way_contacthere is no safe place for the parcel, and the recipient cannot be contactedDriver marks no safe place to leave parcelY
user_request_for_time_changeThe recipient requests to change the delivery time.Driver marks recipient requests a new time for deliveryY
exception_breakagexxx Mark as damaged.Liu Mark as damaged. The parcel is about to return to the warehouse, please wait for further processing. If you haveany questions, please contact your sender for further informationY
exception_loseSorry, your parcel has been lost, please contact the customer service.Sorry, your parcel has been lost, please contact the customer service.Y
order_oversizeOversized or exceeding standards.Oversized or exceeding standards.Y
lostParcel lost, please contact customer service.FHE staff marks lostY
modify_sign_inYour parcel has been delivered.Driver change sign informationY
reassignThe delivery has not been completed. parcel has been returned to the warehoused, and will be redeliverd for you as soon as possible.Driver marks can not finish delivery, and will be deliver one more timeY
transport_orderYour parcel has been forwarded to USPS, Tracking Number: [tracking number]Forwarded to USPS (Only in US)Y
transport_order_v2display the detail message from other channelForwarded to USPS (Only in US)Y
to_be_delivereddisplay the detail message from other channelForwarded to USPS (Only in US)Y
allocate_orderParcel left warehouse [warehouseName] and being transported to [transferWarehouseId]Parcel left warehouse [warehouseName] and being transported to [transferWarehouseName]Y
block_remove_packageRemove binning, reason %sRemove binning, reason %s
block_remove_package_abnormal_remarkOrder block Remove PackageRemoved and marked as abnormal, reason %s
allocate_wait_outThe parcel will be shipped to %sOrder allocate wait outY
allocate_outParcel left warehouse [warehouseName] and being transported to [transferWarehouseName]Order allocate outY
allocate_inParcel arrived at warehouse [warehouseName]. We will deliver within 3 working daysParcel arrived at warehouse [warehouseName]. We will deliver within 3 working daysY
Modified at 2024-10-30 01:29:11
Previous
4).cancelOrder
Next
6).updateOrder
Built with