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

1).createOrder

Service capabilities: create the LME order with the pre-order no

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

SDK request class:CreateOrderRequest

parameter data:

parameter namedescriptionis requiredparameter type
outOrderNogenerated by channel, uniqueTRUEstring
channelchannel code, same as appkeyTRUEstring
orderNoauto-allocated, but other than that it can be pre-allocated in vender IT system with this format: ‘vender code’+14 numbers, such as FHE16753011400000FALSEstring
preTimeStartyyyy-MM-dd HH:mm:ss,expect delivery start time,not work, greater than current date timeTRUEstring
preTimeEndyyyy-MM-dd HH:mm:ss,expect delivery end time,not work, greater than current date timeTRUEstring
cargoDescthe description of cargoFALSEstring
sourceorder sourceFALSEstring
cargoDetailthe description detail of cargoFALSEstring
totalLengthpacket length, unit: m,max:2mTRUEnumber
totalWidthpacket width, unit: m,max:2mTRUEnumber
totalHeightpacket height, unit: m,max:2mTRUEnumber
totalWeightpacket weight, unit: kgTRUEnumber
baleNoconsolidation of multiple orderNo, usually MAWBFALSEstring
remarkorder remarkFALSEstring
posterTRUEPoster
    companyposter company namFALSEstring
    contactposter nameTRUEstring
    telposter tel, required between tel and mobile, fill with '123456789' if both nullFALSEstring
    mobileposter mobile, required between tel and mobile, fill with '123456789' if both nullFALSEstring
    zoneCodeposter address zone code, ISO-3361, demo:AUTRUEstring
    countryposter country full name, demo:AustraliaTRUEstring
    provinceposter province full name, demo:New South WalesTRUEstring
    cityposter nameTRUEstring
    countyposter county full nameFALSEstring
    addressposter address full name, max 40 lengthTRUEstring
    addressTypeposter address typeFALSEint32
    postCodeposter address post codeTRUEstring
    gpsposter address gpsFALSEstring
    taxNoposter tax numberFALSEstring
receiverTRUEReceiver
    companyreceiver company nameFALSEstring
    contactreceiver nameTRUEstring
    telreceiver tel, required between tel and mobile, fill with '123456789' if both nullTRUEstring
    mobilereceiver mobile, required between tel and mobile, fill with '123456789' if both nullTRUEstring
    emailreceiver emailFALSEstring
    zoneCodereceiver address zone code, ISO-3361, demo:AUTRUEstring
    countryreceiver country full name, demo:AustraliaTRUEstring
    provincereceiver province full name, demo:New South WalesTRUEstring
    cityreceiver city full nameTRUEstring
    countyreceiver county full nameFALSEstring
    addressreceiver address full name, max 40 lengthTRUEstring
    addressTypereceiver address TypeFALSEint32
    postCodereceiver post CodeTRUEstring
    gpsreceiver address gpsFALSEstring
    taxNoreceiver tax noFALSEstring
    noteContentreceiver notesFALSEstring
returnAddressThe return addressfalseReturnAddress
    companyposter company nameFALSEstring
    contactposter name,required if returnAddress is not nullTRUEstring
    telposter tel, required between tel and mobile, fill with '123456789' if both null,required if returnAddress is not nullFALSEstring
    mobileposter mobile, required between tel and mobile, fill with '123456789' if both null,required if returnAddress is not nullFALSEstring
    zoneCodeposter address zone code, ISO-3361, demo:AU,required if returnAddress is not nullTRUEstring
    countryposter country full name, demo:Australia,required if returnAddress is not nullTRUEstring
    provinceposter province full name, demo:New South Wales,required if returnAddress is not nullTRUEstring
    cityposter name,required if returnAddress is not nullTRUEstring
    countyposter county full nameFALSEstring
    addressposter address full name, max 40 length,required if returnAddress is not nullTRUEstring
    addressTypeposter address typeFALSEint32
    postCodeposter address post code,required if returnAddress is not nullTRUEstring
    gpsposter address gpsFALSEstring
    taxNoposter tax numberFALSEstring
orderSkuInfoListFALSEarray[OrderSkuInfo]
    productNoFALSEstring
    skuNoFALSEstring
    parcelQtyFALSEint32
    totalCostFALSEnumber
    totalCostExGstFALSEnumber
    totalGstFALSEnumber
    lengthFALSEnumber
    widthFALSEnumber
    heightFALSEnumber
    volumeFALSEnumber
    totalWeightFALSEnumber
    remarkFALSEstring

demo:

{
    "outOrderNo":"",
    "channel":"",
    "preTimeStart":"",
    "preTimeEnd":"",
    "cargoDesc":"",
    "cargoDetail":"",
    "totalLength":0,
    "totalWidth":0,
    "totalHeight":0,
    "totalWeight":0,
    "baleNo":"baleNo",
    "remark":"",
    "poster":{
        "company":"",
        "contact":"",
        "tel":"",
        "mobile":"",
        "email":"",
        "zoneCode":"",
        "country":"",
        "province":"",
        "city":"",
        "county":"",
        "address":"",
        "addressType":0,
        "postCode":"",
        "gps":"",
        "taxNo":""
    },
    "receiver":{
        "company":"",
        "contact":"",
        "tel":"",
        "mobile":"",
        "email":"",
        "zoneCode":"",
        "country":"",
        "province":"",
        "city":"",
        "county":"",
        "address":"",
        "addressType":0,
        "postCode":"",
        "gps":"",
        "taxNo":""
    },
    "returnAddress":{
        "company":"",
        "contact":"",
        "tel":"",
        "mobile":"",
        "email":"",
        "zoneCode":"",
        "country":"",
        "province":"",
        "city":"",
        "county":"",
        "address":"",
        "addressType":0,
        "postCode":"",
        "gps":"",
        "taxNo":""
    },
    "orderSkuInfoList":[
        {
            "productNo":"",
            "skuNo":"",
            "parcelQty":0,
            "totalCost":0,
            "totalCostExGst":0,
            "totalGst":0,
            "length":0,
            "width":0,
            "height":0,
            "volume":0,
            "totalWeight":0,
            "remark":""
        }
    ]
}

SDK response class:OpResponse

response data:

parameter namedescriptionparameter typerequired
coderefer to the section 'error code mapping'int32true
messagestring
displayableboolean
dataOrderResponseDTOrequired with 0 code
         orderNostringtrue
         outOrderNostringtrue
         channelstringtrue
         parcelQtyint32false
         preTimeStartstringtrue
         preTimeEndstringtrue
         cargoDescstringfalse
         cargoDetailstringfalse
         totalLengthnumbertrue
         totalWidthnumbertrue
         totalHeightnumbertrue
         volumenumbertrue
         totalWeightnumbertrue
         totalNetWeightnumbertrue
         orderStage see the status flowint32true
         stageStatus see the status flowint32true
         preDeliverWarehouseNameDeliver Warehouse Namestringfalse, if null please filled wiht value NONE
         baleNostringfalse
         remarkstringfalse
      packageTypePackageTypefalse
          packageCodeint32false
          packageTypestringfalse
          packageInternationalIdstringfalse
      posterContactResponseDTOtrue
          companystringfalse
          contactstringtrue
          telstringfalse
          mobilestringfalse
          emailstringfalse
          zoneCodestringtrue
          countrystringtrue
          provincestringtrue
          citystringfalse
          countystringfalse
          addressstringtrue
          postCodestringtrue
          gpsstringfalse
          taxNostringfalse
          addressTypeint32false
      receiverContactResponseDTOtrue
          companystringfalse
          contactstringtrue
          telstringfalse
          mobilestringfalse
          emailstringfalse
          zoneCodestringtrue
          countrystringtrue
          provincestringtrue
          citystringfalse
          countystringfalse
          addressstringtrue
          postCodestringtrue
          gpsstringfalse
          taxNostringfalse
          addressTypeint32false
      returnAddressContactResponseDTOfalse
          companystring
          contactstring
          telstring
          mobilestring
          emailstring
          zoneCodestring
          countrystring
          provincestring
          citystring
          countystring
          addressstring
          postCodestring
          gpsstring
          taxNostring
          addressTypeint32
        successboolean
demo:
    {
    "code":0,
    "message":"",
    "displayable":true,
    "data":{
        "id":"",
        "orderNo":"",
        "outOrderNo":"",
        "channel":"",
        "parcelQty":0,
        "preTimeStart":"",
        "preTimeEnd":"",
        "cargoDesc":"",
        "cargoDetail":"",
        "totalLength":0,
        "totalWidth":0,
        "totalHeight":0,
        "volume":0,
        "totalWeight":0,
        "totalNetWeight":0,
        "orderStage":0,
        "stageStatus":0,
        "preDeliverWarehouseName":"",
        "remark":"",
        "packageType":{
            "packageCode":0,
            "packageType":"",
            "packageInternationalId":""
        },
        "poster":{
            "orderNo":"",
            "company":"",
            "contact":"",
            "tel":"",
            "mobile":"",
            "email":"",
            "zoneCode":"",
            "country":"",
            "province":"",
            "city":"",
            "county":"",
            "address":"",
            "postCode":"",
            "gps":"",
            "taxNo":"",
            "addressType":0
        },
        "receiver":{
            "orderNo":"",
            "company":"",
            "contact":"",
            "tel":"",
            "mobile":"",
            "email":"",
            "zoneCode":"",
            "country":"",
            "province":"",
            "city":"",
            "county":"",
            "address":"",
            "postCode":"",
            "gps":"",
            "taxNo":"",
            "addressType":0
        },
        "returnAddress":{
            "orderNo":"",
            "company":"",
            "contact":"",
            "tel":"",
            "mobile":"",
            "email":"",
            "zoneCode":"",
            "country":"",
            "province":"",
            "city":"",
            "county":"",
            "address":"",
            "postCode":"",
            "gps":"",
            "taxNo":"",
            "addressType":0
        }
    },
    "success":true
}
Modified at 2024-05-08 12:24:47
Previous
2.API list
Next
2).order detail
Built with