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

7).queryOrderRouteV2

Service capabilities: query order route

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

SDK request class: QueryOrderRouteRequestV2

parameter data:

parameter namedescriptionis requiredparameter typeremark
orderNoTRUEstringorderNo is not empty

demo:

{
    "orderNo":""
}

SDK response class:OpResponse

response data:

parameter namedescriptionparameter typeis requiredis deprecated
codeint32
messagestring
displayableboolean
successboolean
dataOrderRouteResponseDTOOrderRouteResponseDTO
orderRoutesarray[OrderRouteV2]
channelstringN
orderNostringY
outOrderNostringY
actiontracing actionstringYY
eventCodetracing actionstringY
operatorTimestringY
eventTimestringY
timeZonestringY
routingDescriptionstringYY
eventstringY
imageUrlstringY
shippingAddressImageUrlstringY
orderLocationstringYY
utcOperatorTimestringYY
eventZipCodestringN
eventCitystringN
eventStatestringN
eventCountrystringN
trackNostringN
updateTimestringY
driverPrivacyMobilevaluable when eventCode is out_warehorse_2, expired at 48hstringN

demo:

{
    "code":0,
    "message":"",
    "displayable":true,
    "data":{
        "orderRoutes":[
            {
                "eventCode":"out_warehorse_2",
                "channel":"YTO",
                "event":"Parcel has left warehouse ADLDC-1. Our driver Bhavinkumar Vaghasiya  is delivering your parcel to you.",
                "eventCity":"SA",
                "eventCountry":"AU",
                "eventState":"SA",
                "eventTime":"2023-12-07 23:11:17",
                "eventTimeZone":"UTC+10:30",
                "operatorTime":"2023-12-08 09:41:17",
                "eventZipCode":"5013",
                "imageUrl":"",
                "shippingAddressImageUrl":"",
                "orderNo":"G02228964003",
                "outOrderNo":"G02228964003",
                "timeZone":"UTC+10:30",
                "updatedTime":1701990677215,
                "utcOperatorTime":"2023-12-07 23:11:17",
                "driverPrivacyMobile":"61291882160,000001"
            },
            {
                "eventCode":"create_order",
                "channel":"YTO",
                "event":"Order created by **.",
                "eventCity":"SA",
                "eventCountry":"AU",
                "eventState":"SA",
                "eventTime":"2023-12-07 23:11:17",
                "eventTimeZone":"UTC+10:30",
                "operatorTime":"2023-12-08 09:41:17",
                "eventZipCode":"5013",
                "imageUrl":"",
                "shippingAddressImageUrl":"",
                "orderNo":"G02228964003",
                "outOrderNo":"G02228964003",
                "timeZone":"UTC+10:30",
                "updatedTime":1701990677215,
                "utcOperatorTime":"2023-12-07 23:11:17"
            }
        ]
       },
    "success":true
}

action mapping:

coderoutingDescriptionExplainshown
create_orderOrder created by [sender name] to be collectedCreate orderY
collect_orderParcel arrived at warehouse [warehouse name]. We will deliver within 3 working days.Parcel arrived at warehouse [warehouse name]. We will deliver within 3 working days.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 has left warehouse [warehouse name]. Our driver [driver name] is delivering your parcel to you.Driver pick upY
exception_change_data_1Incomplete delivery, being prepared to return to the warehouse.Driver marks can not finish deliveryY
exception_rejectYou have rejected parcel.Driver marks reject by recipientY
exception_withdrawing_re_in_warehouseYour parcel has been withdrawn according to the sender's request.FHE staff marks withdrawY
exception_loseYour 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_inThe parcel has been delivered. If not, please contact parcel_query_xx@fh.express and we will deal with it as soon as possible.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 destination.Driver marks navigation error or wrong addressY
recipient_address_poboxThe receiving address is a PO BOX.Driver marks PO BOXY
no_safe_no_way_contactThere is no safe place for the parcel.Driver 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.It has been returned to the warehouse [warehouse name], 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
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 2025-05-26 08:02:34
Previous
6).updateOrder
Next
8).Tracing push V2
Built with