NAV Navbar
  • Open-API Reference
  • Basic URL
  • API Reference
  • The Security Reference
  • Goods API
  • Inbound API
  • Sales(B2C) API
  • Outbound(B2B) API
  • Sales return API
  • Inventory API
  • 换单 API
  • Customer API
  • Basic information API
  • Webhook
  • Constants
  • Demo Download
  • Open-API Reference

    Welcome!

    Basic URL

    API Basic Endpoints:

    Env country Endpoint
    Training Thailand Test Environment https://open-training.flashfulfillment.co.th/
    Production Thailand Production Environment https://open.flashfulfillment.co.th/
    Production Indonesia Production Environment https://open.flashfulfillment.co.id/
    Production Malaysia Production Environment https://open.flashfulfillment.com.my/
    Production Philippines Production Environment https://open.flashfulfillment.com.ph/
    Production Vietnam Production Environment https://open.flashfulfillment.vn/

    API Reference

    The Basic Standard

    The Basic Response Data Format

    Example for the Data Format:

    {
      "code": 1,
      "message": "success",
      "data": null
    }
    

    The API respond a JSON format data, and it includes three parameters as follow:

    Parameter Type Description
    code integer ResponseCode
    message string Error Message
    data object business data, please refer to the corresponding API

    Internationalization Reference

    Example Code

    POST /open/v1/ping HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Accept: application/json
    Accept-Language: th
    

    Our API supports Chinese(zh-CN)and Thai(th). Notice: We do not support the internationalization of administrative region, we only support Thai.

    You can add the parameter Accept-Language in HTTP Request Header to switch the language.

    Source Tag

    Example of Usage

    POST /open/v1/ping HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Accept: application/json
    Accept-Language: th
    FFM-Source-From: ERP_XXX
    

    Other systems need to pass the source tag, please contact official support personnel to obtain it.

    You can do this by adding the HTTP Request Header: FFM-Source-From.

    Notices

    The Security Reference

    Signature Algorithm

    The common step of make a signature:

    a. suppose the request data as below:

    mchId: 5a7bdfd22593414adb72df5f
    nonceStr: yyv6YJP436wCkdpNdghC
    body: test
    

    b. Format the parameters with the format of key=value, and then sort by the ASCII code of parameter's name DESC.

    stringA="body=test&mchId=5a7bdfd22593414adb72df5f&nonceStr=yyv6YJP436wCkdpNdghC"
    

    c. Join the API Key:

    stringSignTemp=stringA+"&key=dd807a8e18b40153888e5a9864e70080" //Notice:key is supported by our system.
    
    sign=sha256(stringSignTemp).toUpperCase()="BF46380E893F6B8F5486D2EDFE265BB8942C6A9BD5C897E34373734CE08B4B67" // Notice:SHA256 signature
    

    d. The final request data as below:

    mchId: 5a7bdfd22593414adb72df5f
    nonceStr: yyv6YJP436wCkdpNdghC
    body: test
    sign: BF46380E893F6B8F5486D2EDFE265BB8942C6A9BD5C897E34373734CE08B4B67
    

    The first step, we suppose all of the request or respond data as a collection M, then sort the elements in M by the ASCII code of non-null parameter's name DESC. at last, join the parameter with the format of key=value( key1=value1&key2=value2…) as a new string named stringA. Make attention to these important rules:

    The second step, join the key string at the end of stringA, and we get a string stringSignTemp. Make a SHA256 operation to stringSignTemp and convert the result string to uppercase, then we get the sign's value named signValue.

    1. POST request, send JSON object.
    2. URL concatenates required query parameters:?mchId=C1000001&nonceStr=123456&timestamp=1718096016&sign=your_sign. Timestamp is the current timestamp in seconds. NonceStr is a random string with a length of at least 6 digits, consisting of letters and numbers.
    3. Signature calculation method:
      a. The query parameters except sign are sorted in dictionary order and concatenated into a string (str1 = kvkv...), such as: str1 = mchIdC1000001nonceStr123456timestamp1718096016
      b. Concatenate str1 string with secret and json, str2 = secret + str1 + jsonBody + secret. Secret is the key pre-assigned by the platform, and jsonBody is the json string in the request body.
    4. Calculate the signature: Use sha256 to encrypt and convert to uppercase, such as: sign = sha256(str2).toUpperCase()
    5. The generated sign value is placed in the url query parameter, such as:?mchId=C1000001&nonceStr=123456&timestamp=1718096016&sign=your_sign
    6. In the request header, you need to add Content-Type: application/json
    7. In the request body, you need to add a json object, such as: { "name": "test" }

    Notice

    Passing blank values is allowed, but not involved in signature

    /* suppose body parameter is blank */
    body = " \t\n"
    
    /* exclude the body parameter when calculating the signature, but it can still be send to open platform server */
    body=%20%09%0A&mchId=5a7bdfd22593414adb72df5f&nonceStr=yyv6YJP436wCkdpNdghC&sign=E893F6B8F5486D2EDFE265BB8942C6A9BD5C897E34373734CE08B4B67BF46380
    

    data must be urlencoded before sending to open platform server and after calculating signature

    /* suppose the body value is as follows */
    body = "Lisa&Ruby"
    
    /* request body */
    body=Lisa%26Ruby&mchId=5a7bdfd22593414adb72df5f&nonceStr=yyv6YJP436wCkdpNdghC&sign=E34373734CE08B4B67BF46380E893F6B8F5486D2EDFE265BB8942C6A9BD5C897
    

    Random nonce string algorithm

    the nonceStr parameter in this open platform API specification, is used to ensure the signature is unpredictable. The algorithm Ee recommend is as follows: call random number generating function, convert the resulting value to string.

    Goods API

    API Add Goods

    Basic Information

    HTTP

    POST /open/add_goods HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      barCode: "EOS001",
      name: "goodsName",
      goodsCode: "s12",
      specification: "Box",
      isShelfLife: "1",
      shelfLifeDay: "20",
      shelfLifeWarning: "2",
      encodeType: "0",
      introduction: "introduction",
      remark: "remrak",
      prepackWeight: "100",
      length: "2",
      width: "3",
      height: "2",
      weight: "10",
      image: "",
      costPrice: "100",
      price: "10",
      reserveBarcode: "EOS002,EOS003",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: []
    }
    

    Path: /open/add_goods

    Method: POST

    API description:

    Add Goods

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text Yes barCode Goods barcode
    name text Yes goodsName Goods name
    goodsCode text No TW0001 Goods code
    specification text No ฺBlack XXL Specification
    isShelfLife text No 1 or 0 【 1】:Enable shelf life 【 0】:Not enable shelf life Whether to enable the shelf life, not fill default is not enable
    shelfLifeDay text No 90 Shelf life days, When enable shelf life this is required
    shelfLifeWarning text No 15 Warning days,When enable shelf life this is required warning days cannot be greater than shelf life day
    shelfLifeLockUp text No 15 Near Expiry Prohibited Sale Days, When enable shelf life this is required warning days cannot be greater than shelf life day
    encodeType text No 1 or 0 【 1】:Enable SN 【 0】:Not enabled SN Enable SN goods , not fill default not enabled,SN goods and shelf life cannot enable at the same time
    introduction text No My introduction of the goods. Goods introduction
    brandName text No Product Brand, the enumerated value is the brand created in the SCM system
    remark text No My goods remark Remark
    prepackWeight text No 5 Prepack weight ,Unit /g , not fill default is 0
    length text No 10 Length ,Unit is mm , not fill default is 0
    width text No 10 Width Unit ismm , not fill default is 0
    height text No 10 Height Unit is mm , not pass default is 0
    weight text No 10 Weight Unit is/g ,not fill default is 0
    image text No http://pic13.nipic.com/20110409/7119492_114440620000_2.jpg Real link to goods image
    costPrice text No 15000 Cost Price, Transferred Parameter=actual price x100, do not support to transfer the decimal number
    price text No 20000 Sales Price, Transferred Parameter=actual sales price x100, do not support to transfer the decimal number
    reserveBarcode text No EOS002,EOS003 Multiple backup barcodes can be separated by commas, up to 5
    isAsset text No Y Y:open asset

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Edit Goods

    Basic Information

    HTTP

    POST /open/edit_goods HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      barCode: "EOS001",
      name: "goodsName",
      goodsCode: "s12",
      specification: "Box",
      isShelfLife: "1",
      shelfLifeDay: "20",
      shelfLifeWarning: "2",
      encodeType: "0",
      introduction: "Introduction",
      remark: "remrak",
      prepackWeight: "100",
      length: "2",
      width: "3",
      height: "2",
      weight: "10",
      image: "",
      costPrice: "100",
      price: "10",
      reserveBarcode: "EOS002,EOS003",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: ["EOS001"]
    }
    

    Path: /open/edit_goods

    Method: POST

    API description:

    Successfully response the modified goods information

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text Yes barCode Goods barcode
    name text No goodsName Goods name
    goodsCode text No TW0002 Goods code
    specification text No Red XXXL Specification
    introduction text No Introduction Goods introduction
    remark text No Remark Remark
    costPrice text No 15000 Cost Price, Transferred Parameter=actual price x100, do not support to transfer the decimal number
    price text No 20000 Sales Price, Transferred Parameter=actual sales price x100, do not support to transfer the decimal number
    prepackWeight text No 50 Prepack weight unit /g
    length text No 10 Length unit mm
    width text No 10 Width unit mm
    height text No 10 Height unit mm
    weight text No 50 Weight unit /g
    image text No http://pic13.nipic.com/20110409/7119492_114440620000_2.jpg Goods image link
    reserveBarcode text No EOS002,EOS003 Multiple backup barcodes are separated by commas, up to 5; the latest modification will overwrite the historical backup barcodes
    isSn text No Y Y:open sn,N:close sn
    isAsset text No Y Y:open asset,N:close asset
    entCategoryCode text No |ABC0001 Level 2 Classification

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringRequired

    API Edit Goods Barcode

    Basic Information

    HTTP

    POST /open/updateCodeByCode HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      barCode: "FEX001",
      goodsCode: "FEX0001",
      specification: "blue",
      newBarcode: "barcode0001",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: ["barcode0001"]
    }
    

    Path: /open/updateBarcodeByCode

    Method: POST

    API description:

    update goods barcode

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text No FEX001 Goods code
    goodsCode text No FEX0001 Goods code(At least one parameter must be required between barcode and goods code)
    specification text No goodsName Goods specification
    newBarcode text Yes barcode0001 Goods barcode

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringRequired

    API Add Set Goods

    Basic Information

    HTTP

    POST /open/addComboGoods HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      barCode: "FEX0001",
      name: "goodsName",
      goodsCode: "s12",
      specification: "",
      costPrice: "100",
      price: "10",
      introduction: "introduction",
      remark: "remrak",
      image: "",
      children: '[{"barCode":"FEX0002","number":"5"},{"barCode":"FEX0003","number":"6"}]',
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: "FEX0001"
    }
    

    Path: /open/addComboGoods

    Method: POST

    API description:

    Add Combo Goods

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text Yes barCode Commodity Set Barcode
    name text Yes goodsName Goods name
    goodsCode text No TW0001 Goods code
    specification text No Black XXL Goods specification
    costPrice text No 15000 Cost price Unit is Satang, 1 baht = 100 Satang
    price text No 20000 Selling price Unit is Satang, 1 baht = 100 Satang.
    introduction text No My introduction of the goods. Goods introduction
    remark text No My goods remark Remark
    image text No http://pic13.nipic.com/20110409/7119492_114440620000_2.jpg Real link to goods image
    isEnable text No 0 Enable Or not [1]:Yes [0]:No
    children text Yes
    Parameter name Parameter type Required Example Remark
    barCode text Yes barCode Goods barcode
    number text Yes 2 Goods number
    Sub parcel details

    Response data

    Name Type Required Default Remark Other information
    code number Not required
    msg string Not required
    data string Not required Goods barcode

    API Search Goods file(page)

    Basic Information

    HTTP

    POST /goods/list HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      "barCode": "barCode001,barCode002"
      "page":1,
      "pageSize":100
    }
    

    Response data example

    {
        "code": 1,
        "msg": "success",
        "data": {
            "limit": "1",
            "page": "1",
            "total": 583,
            "list": [
                {
                    "id": "24625",
                    "sellerId": "295",
                    "barCode": "1010",
                    "goodsCode": "123123",
                    "orderSourceType": "1",
                    "encodeType": "unique",
                    "snReg": "",
                    "name": "LP00528833848227",
                    "abbrName": "",
                    "brandId": "145",
                    "thirtySalesNum": "0",
                    "entCategoryId": "244",
                    "entCategoryPid": "241",
                    "oneUnit": "36",
                    "inUnit": "one",
                    "outUnit": "one",
                    "twoUnit": "13",
                    "twoConversion": "8",
                    "threeUnit": "28",
                    "threeConversion": "15",
                    "isCombo": "0",
                    "isImei": "0",
                    "hot": "A",
                    "length": "1",
                    "width": "2",
                    "height": "3",
                    "volume": "6",
                    "weight": "4",
                    "prepackWeight": "5",
                    "logisticRequire": [],
                    "storeType": "full",
                    "image": "https:\/\/wms-dev-fe.oss-ap-southeast-1.aliyuncs.com\/static\/image\/0bd8ab2f560fad40a69bcfc6305a3137.png",
                    "price": "200",
                    "costPrice": "100",
                    "specification": "zzzz",
                    "remark": "",
                    "isValuable": "0",
                    "isLocked": "1",
                    "isShelfLife": "0",
                    "shelfLifeDay": "20",
                    "shelfLifeType": "1",
                    "shelfLifeLockUp": "0",
                    "isUnpackedDelivery": "0",
                    "introduction": "",
                    "status": "3",
                    "isMix": "1",
                    "mixStatus": "3",
                    "mixCreater": "1780",
                    "mixCreated": "2022-08-02 18:23:49",
                    "createdName": "xiaodong",
                    "modifiedName": "",
                    "created": "2022-06-21 11:27:48",
                    "twoBarCode": "9",
                    "threeBarCode": "16",
                    "modified": "2024-07-18 22:07:00",
                    "isAsset": "0",
                    "replenishmentBatchNum": "24",
                    "rollbackMark": "0",
                    "reviewStatus": "1",
                    "isDefaultContainer": "1",
                    "channelSource": "",
                    "selfPackCode": "0",
                    "isBelongContainer": "n",
                    "chargingType": "1",
                    "reserveBarCode": "",
                    "declaredValue": "0",
                    "entCategoryName": null,
                    "reserveBarcode": "s1010,1,101010102101010102101010102,101010103101010103101010103,101010101110101010111010101011"
                }
            ]
        }
    }
    

    Path: /goods/list

    Method: POST

    API description:

    search goods info, return one page

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text No Barcode
    page text No
    pageSize text No Maximum 200, if it exceeds 200, it will be calculated as 200

    Response Data

    Name Type Required Default Remark Other information
    msg string Not required
    code number Not required
    data object Not required
    ├─ SIHX object Not required barcode
    ├─ modifiedName string Not required
    ├─ abbrName string Not required
    ├─ remark string Not required Remark
    ├─ isCombo string Not required 【1】set goods【0】General goods
    ├─ hot string Not required ABCclassification
    ├─ sellerId string Not required
    ├─ isAsset string Not required 【1】Asset goods【0】General goods
    ├─ encodeType string Not required [unique]SN goods [other]not SN goods
    ├─ price string Not required Sale price
    ├─ isLocked string Not required
    ├─ isUnpackedDelivery string Not required
    ├─ modified string Not required
    ├─ createdName string Not required
    ├─ id string Not required Goods ID
    ├─ introduction string Not required Goods introduction
    ├─ image string Not required Image addess
    ├─ storeType string Not required
    ├─ parentTwo string Not required
    ├─ logisticRequire string [] Not required 【dangerous】dangerous【fragile】fragile【not flight】not_flight【damp_proof】damp proof【fire_proof】fire proof【put_ice_bag】put ice bag【heteromorphism】heteromorphism 【presale】preSale【gift】gift【high_price】High value product【isValuable】expensive goods【is_special】Special Items

    item type: string

    ├─ created string Not required
    ├─ costPrice string Not required Cost price
    ├─ specification string Not required specification
    ├─ isShelfLife string Not required [0]Not shelf life goods [1]Shelf life goods
    ├─ barCode string Not required Goods barcode
    ├─ orderSourceType string Not required
    ├─ name string Not required Goods name
    ├─ replenishmentBatchNum string Not required
    ├─ parentOne string Not required
    ├─ goodsCode string Not required Goods code
    ├─ categoryId string Not required
    ├─ status string Not required [1]Disable [2]Saved [3]Enable
    ├─ length string not required goods length,unit mm
    ├─ width string not required goods width,unit mm
    ├─ height string not required goods height,unit mm
    ├─ volume string not required volume,unit mm³
    ├─ weight string not required goods weight,unit g
    ├─ prepackWeight string not required prepackaged weight,unit g
    ├─ entCategoryName string not required Enterprise category
    ├─ reserveBarcode string not required Alternative Barcode

    Inbound API

    API Arrival notice

    Basic Information

    HTTP

    POST /arrival_notice/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      warehouseId: "1",
      type: "1",
      orderSn: "OS95354115",
      qualityStatus: "normal",
      channelSource: "",
      deliveryWay: "logistics",
      carrier: "",
      deliveryMan: "zhangsan",
      plateNumber: "DK22222",
      deliveryNumber: "DN20191839",
      deliveryContact: "18666668888",
      remark: "test",
      arrivalStart: "2019-06-10 14:45",
      arrivalEnd: "2019-06-10 16:45",
      goods: [
        {
          "i":1,
          "barCode":"00000000001",
          "num":4,
          "price":123,
          "asset":["aaaaaaa1","aaaaaaa2","aaaaaaa3","aaaaaaa4"]
        },{
          "i":2,
          "barCode":"00000000002",
          "num":2,
          "price":456,
          "asset":["bbbbbbb1","bbbbbbb2"]
        }
      ],
      ignorePrice: "0",
      attachmentList: [
        {
          "filename":"test.pdf",
          "ext":"pdf",
          "contentBase64":""
        }
      ]
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: 'AN2001018888'
    }
    

    Path: /arrival_notice/create

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    warehouseId text Yes 1 Warehouse ID(The warehouse ID can be obtained by querying the interface of available warehouses)
    type text No 1 Inbound type (1:purchase Inbound;3:Return inbount;4:Other inbount)
    qualityStatus text No normal Quality Status(normal;bad)
    orderSn text No External order no. (cannot repeated)
    channelSource text No Channel source
    deliveryWay text No logistics Delivery Way:logistics [express] [seller]
    supplyCode text No Supplier code
    carrier text No carrier
    deliveryMan text No Delivery man
    plateNumber text No Plate Number
    deliveryNumber text No Tracking no.
    deliveryContact text No Delivery Contact
    remark text No Remark
    arrivalStart text No 2019-06-10 14:45 Arrival start time (No seconds)
    arrivalEnd text No 2019-06-10 16:45 Arrival end time(No seconds)
    check text No 0 Approve
    ignorePrice text No 0 [0]No [1]Yes
    isBatchArrival text 0 [0]No [1]Yes
    goods text Yes
    Parameter name Parameter type Required Example Remark
    i text Yes 1 Sequence code, incrementing from 1
    barCode text Yes Barcode
    num text Yes 2 Inbound quantity
    price text No 2000 goods price, Price unit is Satang, 1 baht = 100 Satan
    asset text No ["aaaaaaa1","aaaaaaa2"] ASSET code ,Required when item opens ASSET
    sn text No ["sn01","sn02"] SN code ,Required when item opens SN. If asset is provided, SN will be matched with asset one by one in order
    json of inbound goods json
    attachmentList text N
    Parameter name Parameter type Required Example Remark
    filename text Y test.pdf file name
    ext text Y pdf ext name
    contentBase64 text Y content after base64 encode
    attachment list,json string

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringRequired Inbound bill no.

    Arrival notice list

    Basic Information

    HTTP

    POST  /arrival_notice/getOrderList HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

     params: {
      timeType: "created",
      startTime: "2022-05-31 00:00:00",
      endTime: "2023-08-29 23:59:59",
      warehouseId: "295",
      status: "10,20",
      orderType: "1",
      limit: "10",
      page: "1"
    }
    

    Response data example

    {
        "code": 1,
        "msg": "success",
        "data": {
            "list": [
                {
                    "noticeNumber": "AN2304141889",
                    "orderSn": "123123",
                    "warehouseId": "295",
                    "warehouseName": "warehouse",
                    "status": 50,
                    "orderType": "1"
                }
            ],
            "totalPages": 1,
            "totalItems": 19,
            "pageSize": 50
        }
    }
    

    Path: /arrival_notice/getOrderList

    Method: POST

    API description:

    Arrival notice list

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter type Required Example Remark
    startTime string Y 2022-05-31 00:00:00 Starting time
    endTime string Y 2022-05-31 00:00:00 end time
    warehouseId string N 12 warehouse id
    status string N 10,20 Status: 10 Pending review, 20 Reviewed, 30 Arrived, 40 Receiving, 50 Receiving complete (multiple statuses separated by commas)
    orderType string N 1 Inventory Type: 1 Purchase In, 3 Return In, 4 Other In
    timeType string N created According to the creation time: created, according to the completion time: complete, default according to the creation time

    Response data

    Name Type Required Default Remark Other information
    code number N
    msg string N
    data string Y

    data>list[]

    Name Type Example Remark
    noticeNumber string AN2211115238 Arrival notice number
    orderSn string RKD01202211110006 External order no.
    warehouseId string 295 Warehouse ID
    warehouseName string warehouse Warehouse name
    status string 50 Status: 10 Pending review, 20 Reviewed, 30 Arrived, 40 Receiving, 50 Receiving complete
    orderType string 1 Inventory Type: 1 Purchase In, 3 Return In, 4 Other In

    Approval inbound bill

    Basic Information

    HTTP

     POST  /Audit/inbound HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       orderSn: "AN2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /Audit/inbound

    Method: POST

    API description:

    Approval inbound bill

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded yes

    Body

    Parameter name Parameter type Required Example Remark
    orderSn string yes AN2003198368 Inbound bill no.

    Response data

    NameTypeRequiredDefaultRemarkOther information
    code numberNot required
    msgstringNot required
    datastringRequired

    inbound bill details API

    Basic Information

    HTTP

     POST  /Inbound/getInBoundDetail HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       inboundSn: "AN2003198368",
       orderSn: ""
     }
    

    Response data example

     {
        "code": 1,
        "msg": "success",
        "data": [
            {
                "warehouseId": "78",
                "warehouseName": "warehouse",
                "fromOrderType": "1",
                "inBoundSn": "AN2003125716",
                "orderSource": "1",
                "channelSource": "",
                "fromOrderSn": "",
                "orderSn": "",
                "supplyCode": "",
                "status": "50",
                "distributionType": "logistics",
                "remark": "",
                "createdTime": "2020-03-12 09:52:17",
                "auditTime": "2020-03-12 09:52:21",
                "arrivalStartTime": "",
                "arrivalEndTime": "",
                "completeTime": "2020-03-12 09:53:43",
                "carrier": "",
                "deliveryNumber": "",
                "deliveryMan": "",
                "deliveryContact": "",
                "plateNumber": "",
                "unloadingParty": "warehouse",
                "volume": "",
                "unloadingTime": "2020-03-12 09:52:31 2020-03-12 10:52:31",
                "regName": "ddd",
                "regTime": "2020-03-12 09:52:32",
                "regRemark": "",
                "goodsList": [
                    {
                        "rowNumber": "1",
                        "barCode": "6662",
                        "goodsName": "aa",
                        "specification": "",
                        "number": "100",
                        "inNum": "100",
                        "price": "0",
                        "totalPrice": "0",
                        "normalNum": "5",
                        "badNum": "3",
                        "batchCode": ""
                    },
                    {
                        "rowNumber": "2",
                        "barCode": "6661",
                        "goodsName": "bb",
                        "specification": "",
                        "number": "100",
                        "inNum": "100",
                        "price": "0",
                        "totalPrice": "0",
                        "normalNum": "5",
                        "badNum": "3",
                        "batchCode": ""
                    },
                    {
                        "rowNumber": "3",
                        "barCode": "6663",
                        "goodsName": "cc",
                        "specification": "",
                        "number": "100",
                        "inNum": "100",
                        "price": "0",
                        "totalPrice": "0",
                        "normalNum": "5",
                        "badNum": "3",
                        "batchCode": ""
                    }
                ]
            }
        ]
    }
    

    Path: /Inbound/getInBoundDetail

    Method: POST

    API description:

    inbound bill details

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    inboundSn string No AN2003198368 Inbound bill no.
    orderSn string No External order number (at least one inbound order number or external order number)

    Response Data

    Name Type Required Default Remark other information
    code number
    msg string
    data object[list]
    warehouseId number warehouse ID
    warehouseName string Warehouse name
    fromOrderType number Inbound type [1]purchase Inbound [2]Transfer Inbound [3]Return Inbound [4]Other inbound
    inBoundSn string Inbound bill no.
    orderSource string Order Source [1]Manual entry [2]Batch-import [3]API [4]Auto generated
    channelSource string Source channel
    fromOrderSn string Source order no.
    orderSn string External order no.
    supplyCode string Supplier code
    status enum Status [10]Wait for approval [20]Approved [30]Arrived [40]Receiving [50]Receipt completed
    distributionType string Delivery method [logistics]Logistics [express]Express delivery [seller]Self-send
    remark string Remark
    createdTime string Created time
    auditTime string Approved time
    arrivalStartTime string Expected arrival start time
    arrivalEndTime string Expected arrival finish time
    completeTime string Completion time of receiving goods
    carrier string Carrier
    deliveryNumber string Tracking no.
    deliveryMan string Deliveryman
    deliveryContact string Deliveryman's contact method
    plateNumber string License plate
    unloadingParty string Unloading party [warehouse]Warehouse [seller]Owner [carrier]Carrier
    volume string Volume
    unloadingTime string Unloading time
    regName string Registrant
    regTime string Registration time
    regRemark string Registration note
    goodsList object[list] Goods information
    rowNumber number Row no.(Sequence no.)
    barCode string Barcode
    goodsName string Goods name
    specification string Goods specification
    number number Notice number
    inNum number Receiving Qty
    price number Unit Price Unit:Satang
    totalPrice number Amount Unit:Satang
    normalNum number 正品数量
    badNum number 残品数量
    batchCode number 批次号

    Withdraw Inbound bill API

    Basic Information

    HTTP

     POST  /arrival_notice/rollback HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       inboundSn: "AN2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: "AN2003198368"
     }
    

    Path: /arrival_notice/rollback

    Method: POST

    API description:

    Withdraw Inbound bill API

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    inboundSn string Yes AN2003198368 Inbound bill no.

    Response Data

    Name Type Required Default Remark other information
    code number N
    msg string N
    data string Y

    Delete Inbound bill API

    Basic Information

    HTTP

     POST  /arrival_notice/delete HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       inboundSn: "AN2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: "AN2003198368"
     }
    

    Path: /arrival_notice/delete

    Method: POST

    API description:

    Inbound bill delete

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter Type Required Example Remark
    inboundSn string Y AN2003198368 Inbound bill no.

    Response Data

    Name Type Required Default Remark other information
    code number N
    msg string N
    data string Y

    Sales(B2C) API

    API Add Delivery bill

    Basic Information

    HTTP

    POST /Order/addOrder HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      storeCode: "1",
      orderSn: "OS4851326",
      province: "bj",
      city: "bj",
      district: "",
      postalCode: "TH100510",
      consigneeName: "Jack",
      consigneeAddress: "address",
      phoneNumber: "18159426427",
      buyerId: "10000",
      buyerMessage: "danger goods",
      orderDiscount: "0",
      logisticCharge: "21",
      totalPrice: "18000",
      payMode: "1",
      showPrice: 1,
      goods: [
        {
          "barCode":"FEX00025",
          "num":"1",
          "price":"400",
          "discountPrice":"0",
          "externalName":"external name",
          "externalSpe":"external specification"
        }{
          "barCode":"FEX00026",
          "num":"2",
          "price":"500",
          "discountPrice":"0",
          "externalName":"external name",
          "externalSpe":"external specification"
        }
      ],
      type: "1",
      deliverySn: "DS863154566",
      expressSn:"TH0055555ED55",
      expressCode:"",
      expressName:"",
      buyTime:"2020-05-01 00:00:01",
      ignorePrice: "0",
      channelSource: "",
      extraDataJson: ""
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: "DO190856987"
    }
    

    Path: /Order/addOrder

    Method: POST

    API description:

    Goods Upload format          [{"barCode":"FEX00025","num":"1","price":"400","discountPrice":"0", "externalName":"external name","externalSpe":"external specification"},{"barCode":"FEX00026","num":"2","price":"500","discountPrice":"0","externalName":"external name","externalSpe":"external specification"}]

    The online carrier who enters the express bill number in advance needs to upload the face bill through the interface of uploading the face bill

    3.tiktok认证仓订单,channelSource字段传字符串 ID_WAREHOUSE_TIKTOK,extraDataJson传业务参数格式为json字符串 {"order_id":"12313123","create_time":"","pay_time":"","shop_id":"","shop_name":"","package_id":"12313123","shipping_provider_id":"12313123","shipping_provider_name":"12313123","tracking_number":"12313123","sku_list":[{"sku_id":"3111231","quantity":"123"}]}

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    updateBarcodeByCode
    Parameter name Parameter type Required Example Remark
    warehouseId text No 1 Warehouse ID
    storeCode text Y S0001 SCM added seller store code
    orderSn text Yes 1911020KGYJ990 Order no.
    orderSourceCode text NO 1911020KGYJ990 Order Source Code
    orderSourcePlatform text Order Source Platform,enum:TikTok、Shopee、Lazada、Line、Tokopedia、Shopify、Other
    province text Yes Province
    city text Yes City
    district text Yes district
    postalCode text Yes Postal code
    consigneeName text Yes Consignee name
    consigneeAddress text Yes Consignee address
    phoneNumber text Yes Telephone
    buyerId text No Buyer ID
    buyerMessage text No Buyer message
    deliveryWay text No Delivery method: express, self, default Express
    orderDiscount text No Order discount price
    logisticCharge text Yes Logistic charge
    totalPrice text Yes Total price
    payMode text Yes Pay mode [1]COD[2]Bank transfer[3]E-payment
    goods text Yes
    Parameter name Parameter type Required Example Remark
    barCode text Yes FEX00025 barcode
    num text Yes 1 goods number
    price text Yes 400 goods price
    discountPrice text No 0 discount price
    externalName text No external name
    externalSpe text No external specification
    Order information Goods id Quantity Price json format, Price unit is Satang, 1 baht = 100 Satang
    type text No 1 Order type [1]Sales order (default) [2]Replenishment Order
    deliverySntext No Delivery bill no.
    showPrice text No 1 Print price
    expressSn text No Express bill No. have Tracking number is online express ; If there is no Tracking number, it will go offline express (Take the available express in the system settings) ;
    expressCode text No After filling in, it will verify whether the express code exists ;
    expressName text No Required when expresssn and expresscode are filled in
    insured integer Yes 0 Is it insured [1]: yse [0]:no
    insureDeclareValue integer No Amount of goods Price unit is Satang
    buyTime text No 2020-05-01 00:00:01 Order time
    outTime text No 2020-05-01 00:00:01 Expected outbound time
    check text No 0 [0]Represents need to be reviewed in SCM, [1]Represents without SCM review
    ignorePrice text No 0 [0]No [1]Yes
    channelSource text 渠道来源
    extraDataJson text {"order_id":"12313123","create_time":"","pay_time":"","shop_id":"","shop_name":"","package_id":"12313123","shipping_provider_id":"12313123","shipping_provider_name":"12313123","tracking_number":"12313123","sku_list":[{"sku_id":"3111231","quantity":"123"}]} 其他业务参数

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringRequired Delivery bill no.

    Approval delivery bill

    Basic Information

    HTTP

     POST  /Audit/delivery HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request Example

     params: {
       deliverySn: "DO20010124196"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /Audit/delivery

    Method: POST

    API description:

    Approval delivery bill

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string yes DO20010124196 Delivery bill No.

    Response data

    NameTypeRequiredDetaultRemarkOther information
    code numberNot required
    msgstringNot required
    datastringNot Required

    API Cancel Delivery bill

    Basic Information

    HTTP

    POST /order/cancelOrder HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      deliverySn: "DO19051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: 10
    }
    

    Path: /order/cancelOrder

    Method: POST

    API description:

    Cancel delivery bill by delivery bill no. or external order no.
    API response data description
    10 :Cancel success
    21 :Delivery bill not exist
    22 :Order is not unique
    23 :Order shipped
    24 :Order cannot cancel, please apply for withdrawal, after withdrawal can canceled
    25 :Delivery bill cancelled
    26 :Pending activated state ,can't operation
    27 :Merged or split delivery bill cannot cancel

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO19051524196 Delivery no.
    orderSn string No 123094889129392382838 External order no.(Delivery no., External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOrther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Withdraw Delivery bill

    Basic Information

    HTTP

     POST /order/withdrawOrder HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       deliverySn: "DO19051524196",
       orderSn: "123094889129392382838",
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: 10
     }
    

    Path: /order/withdrawOrder

    Method: POST

    API description:

    Withdraw delivery bill by delivery bill no. or external order no.
    API response code description
    1 :Withdraw success
    1014 :Delivery bill not exist
    1041 :Order start handover
    1038 :Order shipped
    1033 :Order is not unique, please refine the request condition
    1040 :Order not approval, no need to withdraw
    1039 :Wait for withdraw success

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO19051524196 Delivery no.
    orderSn string NO 123094889129392382838 External order no.(Delivery no., External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkother information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Withdraw Delivery bill and cancel(no intercept)

    Basic Information

    HTTP

     POST /order/withdrawCancel HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       deliverySn: "DO19051524196",
       orderSn: "123094889129392382838",
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: 10
     }
    

    Path: /order/withdrawCancel

    Method: POST

    API description:

    Withdraw delivery bill by delivery bill no. or external order no, cancel order.(no intercept)

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO19051524196 Delivery no.
    orderSn string NO 123094889129392382838 External order no.(Delivery no., External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkother information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Delivery bill list

    Basic Information

    HTTP

     POST  /order/getOrderList HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       startTime:'2019-05-01',
       endTime:'2019-05-20',
       warehouseNo:'W0001',
       status:'allocated_warehouse,wait_approval',
       deliverySn: "DO19051524196",
       orderSn: "123094889129392382838",
       expressSn:'TH55899666',
       contact:'18598547523',
       page:'1',
       limit:'50'
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: {list: [
           'deliverySn'=>'DO1911308596',
           'status' =>'Shipped',
           'statusId' =>'180',
           'orderSn'=>'115885523556655',
           'order_source'=>'API',
           'receiver' => 'Consignee name',
           'contact' => '18596857455',
           'receiveAddress' =>'Sanlitun, Chaoyang District, Beijing',
           'warehouseName' =>'JD Warehouse No.1',
           'storeName' =>'Xiaomi official',
           'pay_statua'=>'Paid',
           'pay_model' =>'Bank Transfer',
           'total_price'=>'Total price',
           'carriage' => 'Freight fee ',
           'logistic' => 'Courier company',
           'expressSn'=>'TH1896655445',
           'kinds_num' =>'5',
           'goods_num' =>'20',
           'creatorName' =>'Tom',
           'created' => '2019-11-30 04:05:36',
           'comment' =>'Express delivery‘
       ],
        totalPages:1,
        totalItems:10
       }
     }
    

    Path: /order/getOrderList

    Method: POST

    API description:

    Search Delivery bill List

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    startTime string Yes 2019-05-01 Create start time
    endTime string Yes 2019-05-20 Create end time
    warehouseNo string No W00001 Warehouse no.
    status string No wait_activate,wait_allocate_warehouse Order status (Multiple status separated by commas) wait_activate:Wait activate,pre_sale:Presale order,wait_allocate_warehouse:Wait allocate warehouse,cancelled:Cancelled,sold_out:Sold out,allocated_warehouse:Allocated warehouse,wait_approval:Wait approval,failed_get_the_label:Failed get the label,in_outbound:In outbound,packed:packed,shipped:Shipped,abnormal_delivery:abnormal delivery,rejected:Rejected,signed:Signed
    deliverySn string No DO19051524196 Delivery bill no.(Multiple bill separated by commas)
    orderSn string No 123094889129392382838 External order no.(Multiple bill separated by commas)
    expressSn string No TH198545666 Tracking no. (Multiple bill separated by commas)
    contact string No 18596857456 Phone number
    page string No 1 Page number of query, not pass default is 1, which indicates first page
    limit string No 50 Amount of information searching on each page ,Without specifying default value 50 items,Means amount of information show on each page is 50 items ,Maximum value cannot exceed 100 items

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringRequired

    Response Data list

    Name Type Example Remark
    list
    deliverySn string DO1911308596 Delivery no.
    orderSn string 189665565656 External order no.
    order_source string API Order Source
    status string Shipped Order status
    statusId string 180 [110]:Cancel shipping;[120]:Wait for activation;[121]:Presale order;[130]:Wait for allocation warehouse;[140]:Sold out;[150]:Allocated warehouse;[160]:Wait for approval;[170]:Failed to get the label;[180]:On the Outbound;[190]:Packed;[200]:Shipped;[205]:Abnormal delivery;[210]:Rejected;[220]:Signed;
    receiver string Tom Consignee name
    contact string 18596857485 Phone number
    receiveAddress string Sanlitun, Chaoyang District, Beijing Address
    warehouseName string JD Warehouse No.1 Warehouse name
    storeName string XIaomi official Store name
    pay_status string Paid Pay status
    pay_mode string Bank Transfer Pay mode
    total_price string 50000 Total price Unit:satang
    carriage string 1000 Freight fee Unit:satang
    logistic string Flashexpress Courier company
    expressSn string TH98565475 Tracking no.
    kindsNum string 5 Number of Varieties
    goodsNum string 10 Goods Qty.
    creatorName string Jerry Creator name
    created string 2019-11-30 05:05:36 Created time
    comment string Express delivery CS remark
    totalPages string 10 Total pages
    totalItems string 50 Total items

    API Delivery bill details

    Basic Information

    HTTP

     POST /order/getOrderDetail HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       deliverySn: "DO19051524196",
       orderSn: "123094889129392382838",
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: [
           'warehouseName' =>'JD Warehouse No.1',
           'sellerName' =>'Handsome owner',
           'orderSn'=>'115885523556655',
           'buyer_message' => 'Express delivery',
           'comment' =>'Express delivery',
           'show_price' => 'Yes',
           'type' => 'Replenishment orders',
           'deliverySn'=>'DO1911308596',
           'status' =>'Shipped',
           'statusId' =>'180',
           'pay_statua'=>'Paid',
           'pay_model' =>'Bank Transfer',
           'total_price'=>'Total price',
           'carriage' => 'Freight fee',
           'total_weight' => '100',
           'order_discount_total_money' =>'500',
           'goods_discount_total_money'=>'100',
           'logistic' => 'Courier company',
           'expressSn'=>'TH1896655445',
           'sendName' => 'Tom',
           'sendPhoneNumber'=>'18596857485',
           'sendAddress'=>'Sanlitun, Chaoyang District, Beijing',
           'sendPostalCode'=>'500545',
           'warehouseAddress' =>'Warehouse address',
           'receiver' => 'Consignee name,
           'contact' => '18596857455',
           'receiveAddress' =>'Sanlitun, Chaoyang District, Beijing',
           'postal_code' => 'Consignee Postal code',
           'created'=>'2019-12-01 05:30:30',
           'auditTime'=>'2019-12-01 12:30:30',
           'deliveryTime'=>'2019-12-03 12:30:30',
           'insureDeclareValue'=>'1200',
           'goodsList' => [
             'barCode'=>'FEX00586',
             'goodsName'=>'Goods',
             'specification'=>'Black XXXL',
             'goodsNumber' => '5',
             'goodsPrice' =>'50000',
             'orderDiscountMoney' =>'0',
             'goodsDiscountMoney' =>'0',
             'goodsDealPrice'=>'10000',
             'goodsDealTotalPrice'=>'50000',
             'stockOut'=>'0',
             'batchCode'=>'202301'
         ]
       ]
     }
    

    Path: /order/getOrderDetail

    Method: POST

    API description:

    Search Delivery bill details

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    deliverySn string No DO19051524196 Delivery no.
    orderSn string No 123094889129392382838 External order no. (Delivery no. or External order no. pass at least one parameter )

    Response Data

    NameTypeRequiredDefaultRemarkother information
    codenumberNot required
    msgstringNot required
    datastringRequired

    Response Data

    Name Type Example Remark
    warehouseName string JD Warhouse Warehouse
    sellerName string Handsome owner Owner name
    orderSn string 15556565655665 Enternal prder no.
    buyer_message string Express delivery Buyers message
    comment string Express delivery CS remark
    show_price string Yes Print price?
    type string Replenishment orders Order Type
    deliverySn string DO19153056896 Delivery bill no.
    status string Shipped Order status
    statusId string 180 [110]:Cancel shipping;[120]:Wait for activation;[121]:Presale order;[130]:Wait for allocation warehouse;[140]:Sold out;[150]:Allocated warehouse;[160]:Wait for approval;[170]:Failed to get the label;[180]:On the Outbound;[190]:Packed;[195]:Wait for collection;[200]:Shipped;[205]:Abnormal delivery;[210]:Rejected;[220]:Signed;
    pay_status string Paid Pay status
    pay_mode string Bank Transfer Pay mode
    total_price string 50000 Tatal price Unit:Satang
    carriage string 1000 Freight fee Unit:Satang
    total_weight string 500 Total weight Unit:g.
    order_discount_total_money string 0 Order total discount Unit:Satang
    goods_discount_total_money string 0 Goods total discount Unit:Satang
    logistic string Flashexpress Carrier company
    expressSn string TH5588866546 Tracking no.
    sendName string Tom Sender name
    sendPhoneNumber string 18596857458 Sender phone number
    sendPostalCode string 566699 Sender postal code
    sendAddress string Sanlitun, Chaoyang District, Beijing Sender address
    warehouseAddress string Liuliqiao, Chaoyang District, Beijing Warehouse address
    receiver string Jerry Consignee name
    contact string 18596857456 Consignee phone number
    receiveAddress string Sanlitun, Chaoyang District, Beijing Consignee address
    postal_code string 52226 Consignee postal code
    created string 2019-12-01 05:30:30 created time
    auditTime string 2019-12-01 05:30:30 Approved time
    deliveryTime string 2019-12-03 05:30:30 Delivery time
    insureDeclareValue string 1200 Declared value
    goodsList
    - barCode string FEX55986 Goods barcode
    - goodsName string Jeans Goods name
    - specification string Black XXXL specification
    - goodsNumber string 5 Buy Qty.
    - goods_price string 10000 Sale price Unit:Satang
    - totalPrice string 50000 Total price Unit:Satang
    - orderDiscountMoney string 0 Order total discount Unit:Satang
    - goodsDiscountMoney string 0 Goods discount Unit:Satang
    - goodsDealPrice string 10000 Deal price Unit:Satang
    - goodsDealTotalPrice string 50000 Deal total price Unit:Satang
    - stockOut string 0 Stock out 1Yes 0No
    - batchCode string 202301

    delivery order box query API

    Basic Information

    HTTP

     POST  /box/deliveryOrderBox HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       deliverySn: "DO19051524196",
       orderSn: "123094889129392382838",
     }
    

    Response data example

     {
        "code": 1,
        "msg": "\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
        "data": [
            {
                "deliverySn": "DO23082914783",
                "orderSn": "434461295",
                "isMasterSlaveItems": true,
                "boxList": [
                    {
                        "boxSn": "BOX230829367408",
                        "boxIndex": "1\/2",
                        "expressSn": "TH0101B6TJ0A",
                        "weight": "0",
                        "length": "111",
                        "width": "111",
                        "height": "111",
                        "goodsList": [
                            {
                                "goodsName": "test1111111111111111111111111112",
                                "barCode": "1011",
                                "number": "4"
                            }
                        ],
                        "containerList": [
                            {
                                "name": "ww",
                                "number": "1"
                            },
                            {
                                "name": "wws",
                                "number": "1"
                            }
                        ]
                    },
                    {
                        "boxSn": "BOX230829741629",
                        "boxIndex": "1\/2",
                        "expressSn": "TH0101B6TJ0A",
                        "weight": "0",
                        "length": "111",
                        "width": "111",
                        "height": "111",
                        "goodsList": [
                            {
                                "goodsName": "test1111111111111111111111111112",
                                "barCode": "1011",
                                "number": "3"
                            }
                        ],
                        "containerList": [
                            {
                                "name": "ww",
                                "number": "1"
                            }
                        ]
                    }
                ]
            }
        ]
    }
    
    

    Path: /box/deliveryOrderBox

    Method: POST

    API description:

    delivery order box query

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter value Required Example Remark
    deliverySn string DO19051524196 Delivery no.
    orderSn string External order no. (Delivery no. or External order no. pass at least one parameter )

    Response Data

    Name Type Required Remark Default other information
    code number Y 1:success,other fail
    msg string Y success or fail message
    data []object Y

    data

    Name Type Example Remark
    deliverySn string DO23082914783 Delivery no.
    orderSn string 434461295 External order no.
    isMasterSlaveItems bool true master-slave-items
    boxList []object

    boxList

    Name Type Example Remark
    boxSn string BOX230829367408
    boxIndex string 1/2
    expressSn string TH0101B6TJ0A
    weight string 10 (g)
    length string 10 (mm)
    width string 10 (mm)
    height string 10 (mm)
    goodsList []object
    containerList []object

    goodsList

    Name Type Example Remark
    name string
    barCode string
    number string 10

    containerList

    Name Type Example Remark
    name string
    number string 10

    API Upload label

    Basic Information

    HTTP

     POST/order/importExpressLabel HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
          orderCode: "DO19051524196",
          filetype: "pdf",
          file: ""
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /order/importExpressLabel

    Method: POST

    API description:

    Upload label

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    orderCode string Yes DO19051524196 Order no.
    file string Yes Image data file base64
    fileType string Yes pdf File type (Support : pdf2png2: PDF; png2url: PNG, JPG, GIF)
    expressSn string No SF123123 express sn
    expressName string No 顺丰 the express company name

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberRequired
    msgstringRequired
    datastringRequired

    Get label file API

    Basic Information

    HTTP

     POST/order/getDocument HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
          deliverySn: "DO19051524196",
     }
    

    Response data example

    {
      code: 1,
      msg: "success",
      data: {
        orderNo: "DO20080594741",
        document: [{
            mimeType: "text/html",
            trackNo: "LEXDO0000171174",
            file: "PGh0bWwgc3R5bGU=="
        }]
      }
    }
    

    Path: /order/getDocument

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    deliverySn string No DO19051524196 Order no. deliverySn/orderSn Select at least one parameter
    orderSn string No 202008061621324014 External order no. deliverySn/orderSn Select at least one parameter

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringRequired

    API Delivery bill processing information

    Basic Information

    HTTP

    POST /order/getOrderStatusByNo HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      deliverySn: "DO19051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
      "code": 1,
      "msg": "成功",
      "data": {
        "deliverySn": "DO21051137166",
        "orderSn": "DO21051187295",
        "expressCompany": "FlashExpress",
        "intercept": "",
        "expressSn": "TH010150XS6A",
        "status": "Completed",
        "statusDetail": [
          {
            "status": 00,
            "statusDesc": "Canceled",//取消
            "time": "2021-05-11 08:45:51"
          },
          {
            "status": 10,
            "statusDesc": "Pending",//待审核
            "time": "2021-05-11 08:45:51"
          },
          {
            "status": 20,
            "statusDesc": "Ready to ship",//已审核
            "time": "2021-05-11 16:45:52"
          },
          {
            "status": 30,
            "statusDesc": "Picked",//拣货完成
            "time": "2021-05-11 20:37:51"
          },
          {
            "status": 40,
            "statusDesc": "Packed",//打包完成
            "time": "2021-05-11 20:42:38"
          },
          {
            "status": 50,
            "statusDesc": "Shipped",//已发货
            "time": "2021-05-11 20:46:42"
          },
          {
            "status": 55,
            "statusDesc": "Abnormal delivery",//配送异常
            "time": "2021-05-11 20:46:42"
          },
          {
            "status": 60,
            "statusDesc": "Completed",//已签收
            "time": "2021-06-11 05:07:01"
          },
          {
            "status": 70,
            "statusDesc": "Rejected",//已拒收
            "time": "2021-06-11 05:07:01"
          }
        ]
      }
    }
    

    Path: /order/getOrderStatusByNo

    Method: POST

    API description:

    Delivery processing information by delivery bill no. or external order no.

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO19051524196 Delivery bill no.
    orderSn string No 123094889129392382838 External order no.(Delivery no., or External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Search delivery logistics information

    Basic Information

    HTTP

    POST /order/getOrderTrackingInfoByNo HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      deliverySn: "DO19051524196",
      orderSn: "123094889129392382838",
      expressSn:"TH7501HE636",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: [
        'deliverySn' =>'DO19051524196',
        'orderSn' => '123094889129392382838',
        'expressCompany' =>'FlashExpress',
        'expressSn' => 'TH0102345RF',
        'status' => 'Completed',
        'trackingInfo' => [
           'expressSn'=>'TH0102345RF',
           'routes'=>'[shipment picked 2019-08-22 22:31:26  arrived at branch-BKKSS 2019-08-23 19:50:59 transporting at HUB 2019-08-24 09:31:03 HUB picked 2019-08-24 09:47:29 HUB transporting 2019-08-24 15:18:04 arrived at delivery  branch 2019-08-26 10:00:02 delivering  2019-08-26 10:00:02 Thank you for using flashexpress  2019-08-26 10:00:02]',
        ]
      ]
    }
    

    Path: /order/getOrderTrackingInfoByNo

    Method: POST

    API description:

    Delivery logistics tracking information by delivery bill no. or external order no. or express no.
    'deliverySn' =>'DO19051524196', //delivery bill no.
    'orderSn' => '123094889129392382838',//External order no.
    'expressCompany' =>'FlashExpress',//Express company
    'expressSn' => 'TH0102345RF',//Express no.
    'status' => 'Completed',//Current status
    'trackingInfo' => [// Tracking information
          'expressSn'=>"TH0102345RF",
          'routes'=>' arrived branch-BKKSS 2019-08-23 19:50:59
    transporting at HUB 2019-08-24 09:31:03
    HUB picked 2019-08-24 09:47:29
    HUB transporting 2019-08-24 15:18:04
    arrived at delivery branch 2019-08-26 10:00:02',

    ]

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO19051524196 Delivery bill no.
    orderSn string No 123094889129392382838 External order no.
    expressSn string No TH0102345RF Express no. (Delivery bill no.,External order no., Express no. at least one parameter)

    Response Data

    NameTypeRequiredDefaulfRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Tracking order

    Basic Information

    HTTP

    POST /order/getTrackingBySn HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      expressSn:"TH01015HC30C",
    }
    

    Response data example

    {
        "code": 1,
        "msg": "สำเร็จ",
        "data": {
            "expressSn": "TH01015HC30C",
            "returnedExpressSn": "",
            "status": 1009,
            "message": "Your parcel has been signed by 【abcdefg(Neighbour)】, thank you for using the Flash Express service!",
            "statusChangeAt": "1631181166",
            "routes": [
                {
                    "routedAt": "1631181166",
                    "routeAction": "DELIVERY_CONFIRM",
                    "message": "Your parcel has been signed by 【abcdefg(Neighbour)】, thank you for using the Flash Express service!",
                    "status": 1009
                },
                {
                    "routedAt": "1631181165",
                    "routeAction": "DELIVERY_TICKET_CREATION_SCAN",
                    "message": "Delivering by Flash Express",
                    "status": 1007
                },
                {
                    "routedAt": "1631181155",
                    "routeAction": "RECEIVE_WAREHOUSE_SCAN",
                    "message": "Your shipment has been received at [Testing(北京团队测试用)].",
                    "status": null
                },
                {
                    "routedAt": "1631181154",
                    "routeAction": "RECEIVED",
                    "message": "Your parcel has been pickuped by the [Testing(北京团队测试用)] courier.",
                    "status": 1005
                }
            ]
        }
    }
    

    Path: /order/getTrackingBySn

    Method: POST

    API description:

    Tracking order
    'expressSn' =>'TH01015HC30C', //Flash Express tracking number
    'returnedExpressSn' => 'TH01015HC302',//Returned parcel Waybill number/tracking numbe
    'status' => 1009,//parcel state(1001=Order approved 1002=Warehouse accepted 1003=Picking completed 1004=Packed 1005=Picked Up 1006=In transit 1007=Delivering 1008=Detained 1009=Signed 1010=Problem shipment being processed 1011=Returned shipment 1012=Closed By Exception 1013=Cancelled)
    'message' =>'Your parcel has been signed by 【abcdefg(Neighbour)】, thank you for using the Flash Express service!',//parcel state description
    'statusChangeAt' => 1631181166,//parcel state update timestamp UTC
    'routes' => {[ //Waybill tracking details
          'routedAt'=> 1631181166,
    'routeAction'=> 'DELIVERY_CONFIRM',
    'message'=> 'Your parcel has been signed by 【abcdefg(Neighbour)】, thank you for using the Flash Express service!',
    'status'=> 1009,
    ]}

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    expressSn string No TH0102345RF Express no.

    Response Data

    NameTypeRequiredDefaulfRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Search package weight and size

    Basic Information

    HTTP

    POST  /open/getExpressDimensions HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      expressSn:"TH01027S3Q5D",
      orderSn:"CH22010500013",
      type:"CH",
    }
    

    Response data example

    {
      "code": 1,
      "msg": "สำเร็จ",
      "data": {
          "expressSn": "TH01027S3Q5D",
          "orderSn": "CH22010500013",
          "type": "CH",
          "success": true,
          "errorMessage": "success",
          "length": "10",
          "width": "20",
          "height": "30",
          "weight": "1000"
      }
    }
    

    Path: /open/getExpressDimensions

    Method: POST

    API description:

    Query package of weight,length, width and height when packing

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    expressSn string Yes TH0102345RF Express no.
    orderSn string Yes CH22010500013 When creating an order pass the order number to ARU
    type string No CH Order type in CH,DO

    Response Data

    NameTypeRequiredDefaulfRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response Data

    Name Type Example Remark
    data
    expressSn string TH0102345RF express sn
    orderSn string CH22010500013 order number
    type string CH order type
    success bool true is successfully
    errorMessage string success error message
    length integer 10 length(unit:mm)
    width integer 20 width(unit:mm)
    height integer 30 height(unit:mm)
    weight integer 40 weight(unit:g)

    API Upload Invoice

    Basic Information

    HTTP

     POST/order/uploadInvoice HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
          orderCode: "DO19051524196",
          filetype: "pdf",
          file: ""
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /order/uploadInvoice

    Method: POST

    API description:

    Upload label

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    deliverySn string NO DO19051524196 Delivery no.
    orderSn string Yes 19051524196 Order no.
    file string Yes Data file base64
    fileType string Yes pdf File type (Support : pdf: PDF)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberRequired
    msgstringRequired
    datastringRequired

    API Frozen Delivery

    Basic Information

    HTTP

    POST  /order/freeze HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      deliverySn:"DO22050986392",
      orderSn:"678901018YW98B",
      reason:"Freeze Reason",
    }
    

    Response data example

    {
      "code": 1,
      "msg": "สำเร็จ",
      "data": []
    }
    

    Path: /order/freeze

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO22050986392 Delivery no.
    orderSn string No 678901018YW98B External order no.(Delivery no., External order no. at least one parameter)
    reason string No CH Freeze Reason

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringNot required

    API Unfrozen Delivery

    Basic Information

    HTTP

    POST  /order/unfreeze HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      deliverySn:"DO22050986392",
      orderSn:"678901018YW98B",
      reason:"Unfreeze Reason",
    }
    

    Response data example

    {
      "code": 1,
      "msg": "สำเร็จ",
      "data": []
    }
    

    Path: /order/unfreeze

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    deliverySn string No DO22050986392 Delivery no.
    orderSn string No 678901018YW98B External order no.(Delivery no., External order no. at least one parameter)
    reason string No CH Unfreeze Reason

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringNot required

    Outbound(B2B) API

    API Add Outbound bill

    Basic Information

    HTTP

    POST /open/returnWarehouseAdd HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      status: "1",
      warehouseId: "1",
      type: "1",
      channelSource: "",
      nodeSn: "TH01090201",
      consigneeName: "Jack",
      consigneePhone: "18615431841",
      province: "bj",
      city: "bj",
      district: "hd",
      postalCode: "100510",
      consigneeAddress: "jyy",
      deliveryWay: "logistics",
      outTime: "2000-01-01",
      goodsStatus: "normal",
      remark: "normal",
      goods: [
        {
          "i":"0",
          "barCode":"FEX00025",
          "goodsName":"test1",
          "specification":"14*20*6 cm",
          "num":"1","price":"400",
          "remark":"remark1"
        }{
          "i":"1",
          "barCode":"FEX00026",
          "goodsName":"test2",
          "specification":"14*20*7 cm",
          "num":"2",
          "price":"500",
          "remark":"remark2"
        }
      ],
      orderSn: "",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: "RW202001015689"
    }
    

    Path: /open/returnWarehouseAdd

    Method: POST

    API description:

    Goods format
    [{"i":"0","barCode":"FEX00025","goodsName":"Test API1","specification":"14*20*6 cm","num":"1","price":"400","remark":"Remark1"},{"i":"1","barCode":"FEX00026","goodsName":"Test API2","specification":"14*20*7 cm","num":"2","price":"500","remark":"Remark2"}]

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    status text No 1 [1]Wait for approval [2]Approved
    warehouseId text Yes 1 Warehouse ID
    type text No 1 [1]Return supplier
    channelSource text No Channel source
    nodeSn text No TH01090201 Customer Profile ID
    consigneeName text Yes Consignee name
    consigneePhone text Yes Consignee phone
    province text Yes Province
    city text Yes City
    district text No District
    postalCode text Yes Postal code
    consigneeAddress text Yes Consignee address
    deliveryWay text No Delivery Way:[logistics] [express] [self]
    outTime text No Expected delivery time,eg:2000-01-01
    goodsStatus text No normal [normal]Genuine [bad]Defective
    remark text No Remark
    markName text No Outbound order mark name
    goods text Yes
    Parameter name Parameter type Required Example Remark
    i text Yes 0 sort
    barCode text Yes Fex00025 goods barcode
    goodsName text No name001 goods name
    specification text No XXL goods specification
    num text Yes 5 goods number
    price text No 500 goods price
    remark text No remark
    Outbound goods json,Price unit is Satang, 1 baht = 100 Satan
    orderSn text Yes External order no.

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringRequired Outbound bill NO.

    Approval outbound bill

    Basic Information

    HTTP

     POST  /Audit/outbound HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       orderSn: "RW2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /Audit/outbound

    Method: POST

    API description:

    Approval outbound bill

    Request parameter

    Headers

    Parameter Name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    orderSn string Yes RW2003198368 Outbound bill NO.

    Response data

    NameTypeRequiredDefaultRemarkOther information
    code numberNot required
    msgstringNot required
    datastringNot required

    Outbound bill cancellation API

    Basic Information

    HTTP

    POST /open/cancelOutbound HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      outSn: "RW20051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: []
    }
    

    Path: /open/cancelOutbound

    Method: POST

    API description:

    Cancel outbound bill by outbound bill no. or external order no.

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    outSn string No RW20051524196 Outbound order no.
    orderSn string No 123094889129392382838 External order no.(Outbound order no., or External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Customer outbound goods details

    Basic Information

    HTTP

    POST /open/outBoundGoods HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      startTime: "2018-07-15",
      endTime: "2018-07-18",
      nodeSn: "TH3052641",
      barCode: "BC001"
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: [
          'FEX001'=>[
              'barcode'=>'FEX001',
              'name' =>'goods name1',
              'outNumber'=>5,
              'outSn' =>'RW202001018956',
              'outWarehouseTime' =>'2020-01-02 14:20:20'
          ],
          'FEX002'=>[
              'barcode'=>'FEX002',
              'name' =>'goods name2',
              'outNumber'=>5,
              'outSn' =>'RW202001018956',
              'outWarehouseTime' =>'2020-01-02 14:20:20'
          ],
      ]
    }
    

    Path: /open/outBoundGoods

    Method: POST

    API description:

    Response data explanation   barCode  Goods barcode, outNumber   Outbound quantity   outWarehouseTime Outbound time           outSn Outbound no. (Easy to test)

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    startTime text Yes 2018-07-15 Search start time
    endTime text Yes 2019-07-15 Search end time , start time end time not exceed one year
    nodeSn text Yes TH3052641 Customer ID(Branch ID)
    barCode text Yes FEX001,FEX002 goods barcode multiple separated comma barcode1,barcode2,barcode3

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringRequired

    Data

    Name Type Example Remark
    barCode string FEX001 goods barcode
    name string goods name goods name
    outNumber int 5 outbound number
    outSn string RW202001018956 outbound bill No.
    outWarehouseTime string 2020-01-02 14:20:20 outbound time

    Outbound order processing information

    Basic Information

    HTTP

    POST /open/getOutboundOrderStatus HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      outSn: "RW20051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: [
       'outSn' =>'RW20051524196',
       'orderSn' => '123094889129392382838',
       'status' => '100',
       'desc' =>'Outbounded',
       'statusDetail'=>[
            ['status' => 30, 'statusDesc' => 'Wait for approved', 'time' =>'2020-06-08 08:30:32'],
            ['status' => 50, 'statusDesc' => 'Approved', 'time' =>'2020-06-08 09:30:32'],
            ['status' => 70, 'statusDesc' => 'On the Outbound', 'time' =>'2020-06-08 16:30:32'],
            ['status' => 80, 'statusDesc' => 'Picking completed','time' =>'2020-06-08 17:30:32'],
            ['status' => 90, 'statusDesc' => 'packed', 'time' =>'2020-06-08 18:30:32'],
            ['status' => 100, 'statusDesc' => 'Outbounded', 'time' =>'2020-06-10 17:50:50'],
        ],
       'operateTime' => '2020-06-10 17:50:50'
      ]
    }
    

    Path: /open/getOutboundOrderStatus

    Method: POST

    API description:

    Outbound Order processing information by outbound bill no. or external order no.

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    outSn string No RW20051524196 Outbound order no.
    orderSn string No 123094889129392382838 External order no.(Outbound order no., or External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response Data

    Name Type Example Remark
    outSn string RW20051524196 Outbound bill NO.
    orderSn string 123094889129392382838 External order no.
    status string 10 [10]:Abolished;[20]:Draft;[30]:Wait for approval;[40]:Disapproved;[50]:Approved;[60]:Inventory allocation failure;[70]:On the Outbound;[80]:Picking completed;[90]:Packed;[100]:Outbounded;[110]:Completed;
    desc string Abolished Description
    operateTime string 2020-06-12 10:05:01 time
    statusDetail string ['status' => 30, 'statusDesc' => 'Wait for approved', 'time' =>'2020-05-06 08:30:00']

    Outbound bill logistics information

    Basic Information

    HTTP

    POST /open/getOutboundTrackingInfo HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      outSn: "RW20051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: [
        'outSn' =>'RW19051524196',
        'orderSn' => '123094889129392382838',
        'expressCompany' =>'FlashExpress',
        'expressSn' => 'TH0102345RF',
        'status' => 'outbounded',
        'trackingInfo' => [
          [
            'boxSn' =>'BOX20200586984',
            'expressSn'=>'TH0102345RF',
            'routes'=>'[shipment picked 2019-08-22 22:31:26  arrived at branch-BKKSS 2019-08-23 19:50:59 transporting at HUB 2019-08-24 09:31:03 HUB picked 2019-08-24 09:47:29 HUB transporting 2019-08-24 15:18:04 arrived at delivery  branch 2019-08-26 10:00:02 delivering  2019-08-26 10:00:02 Thank you for using flashexpress  2019-08-26 10:00:02]',
          ]
        ]
      ]
    }
    

    Path: /open/getOutboundTrackingInfo

    Method: POST

    API description:

    Query the outbound bill logistics information by outbound bill number or external order number

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    outSn string No RW20051524196 Outbound order no.
    orderSn string No 123094889129392382838 External order no.(Outbound order no., or External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response Data

    Name Type Example Remark
    outSn string RW20051524196 Outbound bill NO.
    orderSn string 123094889129392382838 External order no.
    status string Outbounded status
    expressCompany string FlashExpress Logistic Company
    expressSn string TH0102345RF Tracking no.
    trackingInfo Waybill tracking details
     boxSn string BOX20200586984 Box list no.
     expressSn string TH0102345RF Tracking no.
     routes string [shipment picked 2019-08-22 22:31:26 arrived at branch-BKKSS 2019-08-23 19:50:59 transporting at HUB 2019-08-24 09:31:03 HUB picked 2019-08-24 09:47:29 HUB transporting 2019-08-24 15:18:04 arrived at delivery branch 2019-08-26 10:00:02 delivering 2019-08-26 10:00:02 Thank you for using flashexpress 2019-08-26 10:00:02]

    OutBound List API

    Basic Information

    HTTP

    POST /open/outBoundOrderList HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params:
    {
        "startTime":"2020-01-01",
        "endTime":"2020-01-01",
        "status":"PACKED",
        "orderSn":"ORDER123456",
        "outSn":"RW2011279913",
        "outBoundMark":"1"
    }
    

    Response data example

    {
        "code":1,
        "msg":"success",
        "data":{
            "total":"4",
            "list":[
                {
                    "status":"PACKED",
                    "outSn":"RW2011279913",
                    "orderSn":"RW2011279913_order_sn",
                    "orderSource":"1",
                    "customerCode":"TH19040301",
                    "customerName":"FH-ประจวบคีรีขันธ์05 เก่า",
                    "consigneeName":"เมธา ธนูทอง",
                    "consigneePhone":"0871707898",
                    "address":"ร่อนทอง-บางสะพาน-ประจวบคีรีขันธ์-77230-ร่อนทอง",
                    "warehouseName":"TH-North",
                    "kindNum":"1",
                    "goodsNum":"1",
                    "createUser":"Bob",
                    "created":"2020-11-27 18:52:14",
                    "verifyUser":"Jesica",
                    "verifyTime":"2020-11-27 18:56:13",
                    "outTime":"2020-12-16",
                    "outWarehouseTime":"2020-12-16 20:03:16",
                    "type":"1",
                    "remark":"FH-ประจวบคีรีขันธ์05",
                    "outBoundMark":"1,2,3"
                }
            ]
        }
    }
    

    Path: /open/outBoundOrderList

    Method: POST

    API description: Query OutBound List API

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter type Required Example Remark
    startTime text Y 2020-10-10 created order start time
    endTime text Y 2020-11-11 created order end time
    status text N PACKED order status,all values list in status enum
    outSn text N 1234567890 out bound order sn
    orderSn text N 1234567890 order sn
    outBoundMark int N 1 out bound mark, all values list in outBoundMark enum

    status enum

    Enum value Remark
    CANCEL Abolished
    DRAFT Draft
    AUDITING Wait for approval
    NO_AUDIT Disapproved
    AUDITED Approval completed
    UNDISTRIBUTED Inventory allocation Failed
    DELIVERING On the Outbound
    PACKED Packed
    DELIVERED Outbounded
    COMPLETED Completed

    outBoundMark enum

    Enum value Remark
    1 Split
    2 Merge
    3 Urgency

    Response Data

    Name Type Required Remark Default Other information
    code number Y
    msg string Y
    data object Y list info

    data

    Name Type Required Remark Default Other information
    total number Y total num
    list []object Y detail

    list structure

    Name Type Required Remark Default Other information
    outSN text Y Outbound bill NO.
    orderSn text Y Order No.
    orderSource text Y Order Source
    status text Y Order status
    customerCode text Y Customer ID
    customerName text Y Customer name
    consigneeName text Y Consignee
    consigneePhone text Y Consignee's Phone number
    address text Y Consignee's Address
    warehouseName text Y Warehouse name
    kindNum text Y Number of Varieties
    goodsNum text Y Goods Num
    createUser text Y Creator
    created text Y Created time
    verifyUser text Y Auditor
    verifyTime text Y Approved time
    outTime text Y Expected Stock-out date
    outWarehouseTime text Y Outbound time
    type number Y Outbound type, all values list in type enum
    remark text Y Remark
    outBoundMark text Y out bound mark, all value list in outBoundMark enum

    type num

    Enum value Remark
    1 Manual entry
    2 Batch-import
    3 API
    4 Auto generated

    Outbound order details API

    Basic Infomation

    HTTP

    POST /open/outBoundOrderDetail HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request Example

    params:
    {
        "orderSn":"1234567890",
        "outSn":"1234567890"
    }
    

    Response Example

    {
        "code":1,
        "msg":"success",
        "data":{
            "orderSn":"RW2011279913_order_sn",
            "outSn":"RW2011279913",
            "orderSource":"1",
            "status":"PACKED",
            "customerCode":"TH19040301",
            "customerName":"FH-ประจวบคีรีขันธ์05 เก่า",
            "warehouseName":"TH-North",
            "consigneeName":"เมธา ธนูทอง",
          "createdTime": "2023-06-27 08:20:32",
          "verifyTime": "2023-06-27 15:22:12",
          "completeTime": "2023-07-28 05:41:00",
          "goods":[
                {
                    "barCode":"amy4",
                    "name":"book",
                    "specification":"",
                    "out_num":"1",
                    "isSn":true,
                    "isShelfLife":true,
                    "stockOut":"0",
                    "snList":[
                        {
                            "sn":"SN86004",
                            "asset":""
                        }
                    ],
                    "shelfLifeList":[{
                        "batchCode":"20181127",
                        "productionDate":"2000-01-01",
                        "expiringDate":"2000-01-01",
                        "num":10
                    }]
                }
            ],
          "box": [
            {
              "boxSn": "BOX230627523975",
              "expressSn": "TH0101B3KU2C",
              "goods": [
                {
                  "barCode": "FEX624007",
                  "name": "FEX624007",
                  "specification": "",
                  "num": "100",
                  "image": "https://abc.com?123.jpg"
                }
              ]
            }
          ]
        }
    }
    

    Path: /open/outBoundOrderDetail

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter type Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter type Required Example Remark
    orderSn text N 2020-10-10 External order no.
    outSn text N 2020-11-11 Outbound bill NO.(orderSn、outSn, required least one)

    Response Data

    Name Type Required Remark Default Other information
    code number Y
    msg string Y
    data object Y Out bount order detail

    data

    Name Type Required Remark Default Other information
    outSN text Y Outbound bill NO.
    orderSn text Y Order No.
    orderSource text Y Order Source
    status text Y order status, all values list in status enum
    customerCode text Y Customer ID
    customerName text Y Customer Name
    consigneeName text Y Consignee
    warehouseName text Y Warehouse name
    createdTime text Y Created time
    verifyTime text Y Approved time
    completeTime text Y Completed time
    goods []object Y Goods Info detail in goods_structure

    status enum

    Enum value Remark
    CANCEL Abolished
    DRAFT Draft
    AUDITING Wait for approval
    NO_AUDIT Disapproved
    AUDITED Approval completed
    UNDISTRIBUTED Inventory allocation Failed
    DELIVERING On the Outbound
    PACKED Packed
    DELIVERED Outbounded
    COMPLETED Completed

    goods_structure

    Name Type Required Remark Default Other information
    barCode text Y Barcode
    name text Y Goods Name
    specification Y text Goods specification
    outNum number Y Outbound Qty.
    isSn bool Y SN item or Not
    stockOut number Y Stock out 0No 1Yes
    isShelfLife bool Y Shelf life item or not
    snList []object Y SN Goods Info detail in snList structure
    shelfLifeList []object Y Shelf life item Info detail in shelfLifeList structure

    snList structure

    Name Type Remark
    sn text
    asset text

    shelfLifeList structure

    Name Type Remark
    batchCode text Barcode
    productionDate text Manufacture date
    expiringDate text Expired date
    num number Shelf life item num

    Outbound order details(new) API

    Basic Infomation

    HTTP

    POST /return_warehouse/outBoundOrderDetail HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request Example

    params:
    {
        "orderSn":"1234567890",
        "outSn":"1234567890"
    }
    

    Response Example

    {
        "code":1,
        "msg":"\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
        "data":[
            {
                "orderSn":"outRW2308303527",
                "outSn":"RW2308303527",
                "orderSource":"1",
                "status":"PACKED",
                "customerCode":"",
                "customerName":"",
                "warehouseName":"",
                "consigneeName":"aaa",
                "consigneePhone":"0987654321",
                "consignee_address":"aa",
                "consigneeProvince":"\u0e01\u0e23\u0e38\u0e07\u0e40\u0e17\u0e1e",
                "consigneeCity":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "consigneeDistrict":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseProvince":"\u0e01\u0e23\u0e38\u0e07\u0e40\u0e17\u0e1e",
                "warehouseCity":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseDistrict":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseAddress":"test",
                "warehousePostCode":"10110",
                "createdTime": "2023-06-27 08:20:32",
                "verifyTime": "2023-06-27 15:22:12",
                "completeTime": "2023-07-28 05:41:00",
                "goods":[
                    {
                        "barCode":"1011",
                        "name":"test1111111111111111111111111112",
                        "specification":"\u578b\u53f7333333333333333333333",
                        "outNum":"10",
                        "isSn":false,
                        "isShelfLife":false,
                        "snList":[
    
                        ],
                        "shelfLifeList":[
    
                        ],
                        "stockOut":"0"
                    },
                    {
                        "barCode":"101101",
                        "name":"101101",
                        "specification":"",
                        "outNum":"1",
                        "isSn":false,
                        "isShelfLife":false,
                        "snList":[
    
                        ],
                        "shelfLifeList":[
    
                        ],
                        "stockOut":"0"
                    }
                ],
                "box":[
                    {
                        "boxSn":"BOX230830334013",
                        "expressSn":["TH0101B72N0B0"],
                        "goods":[
                            {
                                "barCode":"1011",
                                "name":"test1111111111111111111111111112",
                                "specification":"\u578b\u53f7333333333333333333333",
                                "num":"10",
                                "image":"https:\/\/wms-dev-fe.oss-ap-southeast-1.aliyuncs.com\/static\/image\/e23b38df173a697f0a6d3684e4c74d61.png"
                            },
                            {
                                "barCode":"101101",
                                "name":"101101",
                                "specification":"",
                                "num":"1",
                                "image":"https:\/\/wms-dev-fe.oss-ap-southeast-1.aliyuncs.com\/static\/image\/d2decdef43ea9a52f385463d26290f27.jpeg"
                            }
                        ]
                    }
                ]
            },
            {
                "orderSn":"outRW2308303527",
                "outSn":"RW2308307351",
                "orderSource":"1",
                "status":"AUDITING",
                "customerCode":"",
                "customerName":"",
                "warehouseName":"",
                "consigneeName":"aaa",
                "consigneePhone":"0987654321",
                "consignee_address":"aa",
                "consigneeProvince":"\u0e01\u0e23\u0e38\u0e07\u0e40\u0e17\u0e1e",
                "consigneeCity":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "consigneeDistrict":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseProvince":"\u0e01\u0e23\u0e38\u0e07\u0e40\u0e17\u0e1e",
                "warehouseCity":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseDistrict":"\u0e04\u0e25\u0e2d\u0e07\u0e40\u0e15\u0e22",
                "warehouseAddress":"test",
                "warehousePostCode":"10110",
                "goods":[
                    {
                        "barCode":"1010",
                        "name":"LP00528833848227",
                        "specification":"zzzz",
                        "outNum":"10",
                        "isSn":true,
                        "isShelfLife":false,
                        "snList":[
    
                        ],
                        "shelfLifeList":[
    
                        ],
                        "stockOut":"0"
                    }
                ],
                "box":[
    
                ]
            }
        ]
    }
    

    Path: /return_warehouse/outBoundOrderDetail

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter type Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter type Required Example Remark
    orderSn text N 2020-10-10 External order no.
    outSn text N 2020-11-11 Outbound bill NO.(orderSn、outSn, required least one)

    Response Data

    Name Type Required Remark Default Other information
    code number Y
    msg string Y
    data object Y Out bount order detail

    data

    Name Type Required Remark Default Other information
    outSN text Y Outbound bill NO.
    orderSn text Y Order No.
    orderSource text Y Order Source
    status text Y order status, all values list in status enum
    customerCode text Y Customer ID
    customerName text Y Customer Name
    consigneeName text Y Consignee
    warehouseName text Y Warehouse name
    createdTime text Y Created time
    verifyTime text Y Approved time
    completeTime text Y Completed time
    goods []object Y Goods Info detail in data.goods structure
    box []object Y box Info detail in data.box structure

    status enum

    Enum value Remark
    CANCEL Abolished
    DRAFT Draft
    AUDITING Wait for approval
    NO_AUDIT Disapproved
    AUDITED Approval completed
    UNDISTRIBUTED Inventory allocation Failed
    DELIVERING On the Outbound
    PACKED Packed
    DELIVERED Outbounded
    COMPLETED Completed

    data.goods

    Name Type Required Remark Default Other information
    barCode text Y Barcode
    name text Y Goods Name
    specification Y text Goods specification
    outNum number Y Outbound Qty.
    isSn bool Y SN item or Not
    stockOut number Y Stock out 0No 1Yes
    isShelfLife bool Y Shelf life item or not
    snList []object Y SN Goods Info detail in snList structure
    shelfLifeList []object Y Shelf life item Info detail in shelfLifeList structure

    goods.snList structure

    Name Type Remark
    sn text
    asset text

    goods.shelfLifeList structure

    Name Type Remark
    batchCode text Barcode
    productionDate text Manufacture date
    expiringDate text Expired date
    num number Shelf life item num

    data.box structure

    Name Type Required Remark Default Other information
    boxSn text Y
    expressSn []string Y
    goods []object Y goods info in box detail in box.goods structure

    box.goods structure

    Name Type Required Remark Default Other information
    barCode text Y Barcode
    name text Y Goods Name
    specification Y text Goods specification
    num number Y the goods num in box
    image text Y goods picture url

    Outbound bill logistics information(new)

    Basic Information

    HTTP

    POST /return_warehouse/getOutboundTrackingInfo HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      outSn: "RW20051524196",
      orderSn: "123094889129392382838",
    }
    

    Response data example

    {
        "code": 1,
        "msg": "\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
        "data": [
            {
                "outSn": "RW2308089453",
                "orderSn": "FE0169147641825535_1",
                "status": "Outbounded",
                "expressCompany": "Flash Express",
                "expressSn": ["TH0101B5P82C"],
                "trackingInfo": [
                    {
                        "boxSn": "BOX230808271824",
                        "expressSn": "TH0101B5P82C",
                        "routes": [
                            {
                                "id": "1183",
                                "type": "2",
                                "businessId": "848",
                                "expressSn": "TH0101B5P82C",
                                "lang": "th",
                                "routeAction": "DELIVERY_CONFIRM",
                                "message": "\u0e19\u0e33\u0e2a\u0e48\u0e07\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 \u0e40\u0e0b\u0e47\u0e19\u0e23\u0e31\u0e1a\u0e42\u0e14\u0e22\u30101111111111111(\u0e40\u0e08\u0e49\u0e32\u0e02\u0e2d\u0e07\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32)\u3011 \u0e02\u0e2d\u0e1a\u0e04\u0e38\u0e13\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 Flash Express",
                                "routeTime": "1691498246"
                            }
                        ]
                    }
                ]
            }
        ]
    }
    

    Path: /return_warehouse/getOutboundTrackingInfo

    Method: POST

    API description:

    Query the outbound bill logistics information by outbound bill number or external order number

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    outSn string No RW20051524196 Outbound order no.
    orderSn string No 123094889129392382838 External order no.(Outbound order no., or External order no. at least one parameter)

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response Data

    Name Type Example Remark
    outSn string RW20051524196 Outbound bill NO.
    orderSn string 123094889129392382838 External order no.
    status string Outbounded status
    expressCompany string FlashExpress Logistic Company
    expressSn []string TH0102345RF Tracking no.
    trackingInfo Waybill tracking details
     boxSn string BOX20200586984 Box list no.
     expressSn string TH0102345RF Tracking no.
     routes []object
      routeAction string node
      message string desc
      routeTime string timestamp

    Sales return API

    API Add Sales return bill

    Basic Information

    HTTP

    POST /rollback_order/add HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      externalOrderSn: "EOS001",
      backType: "allRejected",
      backReason: "",
      deliverySn: "",
      externalUserInfo: "",
      senderAddress: "senderAddress",
      senderCountry: "",
      province: "bj",
      city: "bj",
      district: "hd",
      postalCode: "100100",
      senderName: "Jack",
      senderPhone: "18641586981",
      carrier: "",
      backExpressSn: "",
      oriExpressSn: "",
      weight: "",
      size: "",
      buyerRemark: "",
      backPayMode: "cod",
      backStatus: "",
      bankId: "",
      payee: "",
      bankName: "",
      warehouseId: "78",
      goods: [
        {
          "barCode":"BC001",
          "num":34,
          "price":5565
        },{
        "barCode":"BC002",
         "num":2,
          "price":1200
        }
      ],
      ignorePrice: "0"
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: 'SR2001018596'
    }
    

    Path: /rollback_order/add

    Method: POST

    API description:

    {
    "code":1,
    "msg":"success",
    "data":"SR2001018596"
    }

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    externalOrderSn text Yes 45896855865 Order no.(External order no.)
    backType text Yes primary Return type [primary] Normal return
    backReason text No Return reason
    deliverySn text No DO19081217361 Order no.(SCM delivery no.)
    externalUserInfo text No xingfukuaidi12 User ID(User on e-commerce platform)
    senderAddress text Yes
    province text Yes กรุงเทพ Province
    city text Yes คลองสามวา City
    district text No ทรายกองดิน District
    postalCode text Yes 10510 Postal code
    senderName text Yes binbin Sender name
    senderPhone text Yes 34534373457474 Sender phone number 9-20 digits
    carrier text No Carrier Carrier
    backExpressSn text No Return express no.
    oriExpressSn text No Original express no.
    weight text No 56 Order weight ,integer type g
    size text No 4445 Order size, integer type mm
    buyerRemark text No Remark Buyer remark
    backPayMode text Yes cod Payment type value bank online cod
    backStatus text No 1 Refund status value Default1 1:Pending refund 2:Refunded 3:No refund
    bankId text No Rice cooker Refund account
    payee text No lolo Payee
    bankName text No CCB Bank
    warehouseId text Yes 78 Warehouse ID
    ignorePrice text No 0 [0]No [1]Yes
    goods text Yes
    Parameter name Parameter type Required Example Remark
    barCode text Yes FEX00025 goods barcode
    num text Yes 34 goods number
    price text No 500 goods number
    Goods Product Details json Character ,Supports both escaping and non-escaped
    check text 1 [1]auto audit

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    data string Not required Return bill no.

    Approval sales return bill

    Basic Information

    HTTP

     POST  /Audit/returnBill HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       orderSn: "SR2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /Audit/returnBill

    Method: POST

    API description:

    Approval sales return bill

    Request Parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter value Required Example Remark
    orderSn string Yes SR2003198368 Return bill no.

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    code numberNot Required
    msgstringNot required
    datastringNot Required

    Cancel sales return bill API

    Basic Information

    HTTP

     POST  /rollback_order/cancel HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       orderSn: "SR2003198368"
     }
    

    Response data example

     {
       msg: "success",
       code: 1,
       data: []
     }
    

    Path: /rollback_order/cancel

    Method: POST

    API description:

    Cancel sales return bill

    Request Parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter value Required Example Remark
    orderSn string No SR2003198368 Return bill no.
    externalOrderSn string Yes ot001 External Order No.
    cancelReason string No cancel Cancel reason

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    code numberNot Required
    msgstringNot required
    datastringNot Required

    Return bill details API

    Basic Information

    HTTP

     POST  /Inbound/getDeliveryRollbackOrderDetail HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
       baskSn: "SR1908134403",
       orderSn: ""
     }
    

    Response data example

    {
        "code": 1,
        "msg": "success",
        "data": [
            {
                "warehouseId": "78",
                "warehouseName": "warehouse",
                "backSn": "SR1908134403",
                "orderSn": "erte77ru",
                "status": "1060",
                "backType": "allRejected",
                "backReason": "5",
                "deliverySn": "DO19081217361xgdgd",
                "userId": "hhh",
                "senderAddress": "dfdf",
                "senderCountry": "th",
                "senderProvince": "กรุงเทพ",
                "senderCity": "คลองสามวา",
                "senderDistrict": "ทรายกองดิน",
                "senderPostalCode": "10510",
                "senderMan": "zhanglibin",
                "senderManPhone": "4588888888",
                "oriExpressSn": "fffffffffffffff",
                "backExpressSn": "dddddddddddddd",
                "Carrier": "",
                "totalWeight": "12",
                "totalSize": "45",
                "buyerRemark": "eee",
                "backPayMode": "cod",
                "backStatus": "2",
                "bankId": "tytytyty",
                "payee": "zhanglibin",
                "bankName": "kaitaiBankfdgdfg",
                "goodsList": [
                    {
                        "rowNumber": 1,
                        "barCode": "4",
                        "goodsName": "ssss",
                        "specification": "",
                        "backGoodsNumber": "343",
                        "backGoodsInNumber": "400",
                        "backGoodsTotalPrice": "5625200",
                        "qualityStatus":{
                          "normalNum": "2",
                          "badNum": 0
                        }
                    }
                ]
            }
        ]
    }
    

    Path: /Inbound/getDeliveryRollbackOrderDetail

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter Type Required Example Remark
    backSn string No SR2003198368 Return bill no.
    orderSn string No External order number (at least one withdraw order number or external order number)

    Response Data

    Name Type Required Default Remark other information
    code number
    msg string
    data object[list]
    warehouseId number warehouse ID
    warehouseName string Warehouse name
    backSn number Return bill no.
    orderSn string External order no.
    status string Status [1000] Cancel returned [1001] Delete [1010] No need to send a direct refund [1020]Wait for approval [1030]Waitting to send back [1040]Buyers have returned [1045] Arrived [1050] Receiving[1060] Receiving completed
    backType string Return type [primary]Normal return [backgoods]Exchange goods [allRejected]Reject all
    backReason string Return reason [1] No reasons in 7 days [2] Quality issues [3] Expired [4] Damaged [5] Other
    userId string Platform user ID Users on e-commerce platforms
    senderAddress string Sender's address
    senderCountry enum Country Default Thailand
    senderProvince string Province
    senderCity string City
    senderDistrict string District
    senderPostalCode string Sender postcode
    senderMan string Sender name
    senderManPhone string Phone Number
    oriExpressSn string The original tracking No.
    backExpressSn string Return tracking No.
    carrier string Carrier
    totalWeight string Order weight g
    totalSize string Order size mm
    buyerRemark string Note from buyer
    backPayMode string Refund method [bank] Bank Transfer [online] Online payment [cod] Cash on delivery / COD
    backStatus string Refund status [1] Awaiting refund [2] Refunded [3] No refund
    bankId string Accounts receivable
    payee string Payee
    bankName string Bank
    goodsList object[list] Goods information
    rowNumber number Row no.(Sequence no.)
    barCode string Barcode
    goodsName string Goods name
    specification string Goods specification
    backGoodsNumber number Return Qty
    backGoodsInNumber number Receiving Qty Only the receiving is completed can caculate receiving quantity 
    backGoodsTotalPrice number Price of return Unit:Satang
    - qualityStatus object
    - - normalNum string 10
    - - badNum string 2

    Return bill list API

    Basic Information

    HTTP

     POST  /rollback_order/getOrderList HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
        "storeCode":"s-001",
        "warehouseNo":"w-001",
        "status":"",
        "sourceType":"",
        "startTime":"2023-01-01 00:00:00",
        "endTime":"2023-08-30 00:00:00",
        "page":"1",
        "limit":"1"
    }
    

    Response data example

    {
        "code": 1,
        "msg": "\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
        "data": {
            "list": [
                {
                    "backSn": "SR2308087707",
                    "orderSn": "o-111",
                    "warehouseNo": "JQKA",
                    "warehouseName": null,
                    "status": "1060",
                    "storeCode": "s-001",
                    "storeName": "s-002",
                    "sourceType": 1,
                    "created": "2023-08-08 09:47:00"
                }
            ],
            "totalPages": 214,
            "totalItems": "214"
        }
    }
    
    

    Path: /rollback_order/getOrderList

    Method: POST

    API description:

    Return bill list

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter type Required Example Remark
    storeCode string N s-001
    warehouseNo string N w-001
    status string N 状态
    sourceType string N
    warehouseNo string N w-001
    startTime string 2023-01-01 00:00:00
    endTime string 2023-09-01 00:00:00
    limit number N per page num
    page number N page

    status enum

    value remark
    1010 Refund Without Returning Product
    1020 Awaiting Approval
    1030 Awaiting Buyer to Send Back
    1040 Buyer Sent Back
    1045 Arrived
    1050 Receiving Processing
    1060 Receiving Completed

    sourceType enum

    value remark
    1 seller create
    2 warehouse create
    3 api create

    Response Data

    Name Type Example Remark Other information
    code string
    msg string
    data object

    list

    Name Type Example Remark Other information
    backSn string b-001
    orderSn string o-001
    warehouseNo string w-001
    warehouseName string w_name
    status string 1010
    storeCode string s-001
    storeName string s-name
    sourceType string 1
    created string 2023-08-01 00:00:00

    Inventory API

    API Search inventory

    Basic Information

    HTTP

    POST /open/goodsStock HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request parameter example

    params: {
      barCode: "BC001",
      warehouseId: "1",
      goodsStatus: "normal",
      startTime :'2020-01-01 00:00:00',
      endTime :'2020-01-02 23:59:59'
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: {
       BBBUI: {
         availableInventory: "10",
         totalInventory: "105",
         inventory: "95"
       },
       NOINI: {
         availableInventory: "2",
         totalInventory: "2",
         inventory: "0"
       }
      }
    }
    

    Path: /open/goodsStock

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text No O3O2O1O,BBBUI,NNN Barcode multiple,Separated,Verification regular ^[\w-]+(,[\w-]+)*
    warehouseId text NO 1 Warehouse ID,Do not fill in the default all warehouses
    goodsStatus text No normal Quality status [normal]Genuine(Default),[bad]Defective
    goodsType text No normal Goods type [normal]normal,[set]set
    startTime text No 2020-01-01 00:00:00 Starting time
    endTime text No 2020-01-01 23:59:59 End time (The time range cannot span more than 1 day)

    Response Data

    ์NameTypeRequiredDefaultRemarkOther information
    msgstringNot required
    codenumberNot required
    dataobjectNot required
    ├─ O3O2O1OobjectNot required
    ├─ availableInventoryintegerNot requiredAvailable inventory
    ├─ totalInventoryintegerNot requiredTotal inventory
    ├─ inventoryintegerNot requiredInventory
    ├─ BBBUIobjectNot required
    ├─ availableInventorystringNot required
    ├─ totalInventorystringNot required
    ├─ inventorystringNot required
    ├─ NNNobjectNot required
    ├─ availableInventorystringNot required
    ├─ totalInventorystringNot required
    ├─ inventorystringNot required

    仓库库存查询 API(返回错误的Barcode)

    基本信息

    HTTP

    POST /open/goodsStockWithErrBarcode HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    请求示例

    params: {
      barCode: "BC001",
      warehouseId: "1",
      goodsStatus: "normal",
      startTime :'2020-01-01 00:00:00',
      endTime :'2020-01-02 23:59:59'
    }
    

    返回数据体示例

    {
      "code": 1,
      "msg": "成功",
      "data": {
        "stock": {
          "goods001": {
            "totalInventory": "100", //实物库存
            "inventory": "88", //可用库存
            "availableInventory": "88"//可售库存
          },
          "goods002": {
            "totalInventory": "100", //实物库存
            "inventory": "88", //可用库存
            "availableInventory": "88"//可售库存
          }
        },
        "errBarcode": [//错误的barcode
          "goods001",
          "zzz",
          "kkkkk",
          "kkkk"
        ]
      }
    }
    
    {
      "code": 1718,
      "msg": "商品类型非法",
      "data": []
    }
    

    Path: /open/goodsStockWithErrBarcode

    Method: POST

    接口描述:

    请求参数

    Headers

    参数名称 参数值 是否必须 示例 备注
    Content-Type application/x-www-form-urlencoded

    Body

    参数名称 参数类型 是否必须 示例 备注
    barCode text O3O2O1O,BBBUI,NNN 条形码 多个用,隔开,验证正则 ^[\w-]+(,[\w-]+)*
    warehouseId text 1 仓库ID,不填默认全部仓库
    goodsStatus text normal 质量状态[normal]正品(默认),[bad]残品
    goodsType text normal 商品类型[normal]普通,[set]套装
    startTime text 2020-01-01 00:00:00 开始时间
    endTime text 2020-01-01 23:59:59 结束时间 ( 时间范围的跨度不能大于1天)

    返回数据

    详细结构见右侧

    名称 类型 是否必须 默认值 备注 其他信息
    msg string 必须
    code number 必须
    data object 必须

    API Search SN inventory

    Basic Information

    HTTP

    POST /open/getSnList HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request parameter example

    params: {
      barCode: "BC001",
      warehouseId: "1",
      goodsStatus: "normal",
      status: "1",
      inWarehouseSn: "",
      outWarehouseSn: "",
      snCode: "",
      assetCode: "",
      limit: 50,
      page: 50,
    }
    

    Response data example

    {
        "code": 1,
        "msg": "success",
        "data": {
            "items": [
                {
                    "warehouseId": "78",
                    "warehouseName": "warehouse",
                    "barCode": "999",
                    "goodsStatus": "normal",
                    "status": "1",
                    "snCode": "2222",
                    "assetCode": "",
                    "inWarehouseSn": "AN1910101280",
                    "inTime": "2019-10-14 16:27:28",
                    "outWarehouseSn": "",
                    "outTime": "",
                    "remark": ""
                },
            ],
            "first": 1,
            "before": 1,
            "previous": 1,
            "current": 1,
            "last": 1,
            "next": 1,
            "total_pages": 1,
            "total_items": 1,
            "limit": 50
        }
    }
    

    Path: /open/getSnList

    Method: POST

    API description

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text Yes O3O2O1O,BBBUI,NNN Barcode multiple,Separated,Verification regular ^[\w-]+(,[\w-]+)*
    warehouseId text No 1 Warehouse ID,Do not fill in the default all warehouses
    goodsStatus text No normal Quality status [normal]Genuine(Default),[bad]Defective
    status text No 1 Quality status [1]Inbounded (Default), [3] Occupied, [4]Outbounded
    inWarehouseSn text No Inbound bill no.
    outWarehouseSn text No Outbound bill NO.
    snCode text No SN
    assetCode text No ASSET
    limit text No 50 Amount of information searching on each page ,Without specifying default value 50 items,Means amount of information show on each page is 50 items ,Maximum value cannot exceed 10000 items
    page text No 1 Page number of query, not pass default is 1, which indicates first page

    Response Data

    body

    Name Type Required Reamrk
    code number
    msg string
    data object
          first number
          before number
          previous number
          current number
          last number
          next number
          total_pages number Total pages
          total_items number Total items
          limit number
          items object
               warehouseId number Warehouse id
               warehouseName string Warehouse name
               barCode string barCode
               goodsStatus string Quality status
               status number Status
               snCode string sn code
               assetCode string asset code
               inWarehouseSn string Inbound bill NO.
               inTime string InBound Time
               outWarehouseSn string Outbound bill NO.
               outTime string OutBound Time
               remark string Remark

    API Search Shelf Life Products

    Basic Information

    HTTP

    POST /open/shelfLifeGoodsStock HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request parameter example

    params: {
      barCode: "BC001,BC002",
      warehouseId: "1",
      goodsStatus: "normal"
    }
    

    Response data example

    {
        "code": 1,
        "msg": "success",
        "data": [
            {
                "warehouseId": "1",
                "totalInventory": "498",
                "qualityStatus": "normal",
                "sellerGoodsBatchCode": "20190117",
                "productionDate": "2019-01-17",
                "expiringDate": "2019-03-03",
                "nearDateType": "2",
                "lockUpDate": "2019-03-03",
                "barCode": "BC001"
            },
            {
                "warehouseId": "1",
                "totalInventory": "501",
                "qualityStatus": "normal",
                "sellerGoodsBatchCode": "20190118",
                "productionDate": "2019-01-18",
                "expiringDate": "2019-03-04",
                "nearDateType": "2",
                "lockUpDate": "2019-03-04",
                "barCode": "BC002"
            }
        ]
    }
    

    Path: /open/shelfLifeGoodsStock

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded

    Body

    Parameter name Parameter type Required Example Remark
    barCode text Yes O3O2O1O,BBBUI,NNN Barcode multiple,Separated,Verification regular ^[\w-]+(,[\w-]+)*
    warehouseId text No 1 Warehouse ID,Do not fill in the default all warehouses
    goodsStatus text No normal Quality status [normal]Genuine(Default),[bad]Defective

    Response Data

    body

    Name Type Required Reamrk
    code number
    msg string
    data object
               warehouseId string Warehouse id
               totalInventory string Total inventory
               goodsStatus string Quality status
               sellerGoodsBatchCode string Batch code
               productionDate string Manufacture date
               expiringDate string Expiry date
               lockUpDate string Blocked-sale date
               barCode string barCode
               nearDateType string Temporary type 0Normal 1Advance warning 2Expired

    In or Out Warehouse Log API

    基本信息

    HTTP

     POST  /warehouse/inOutLog HTTP/1.1
     Host: https://open-training.flashfulfillment.co.th/
     Content-Type: application/x-www-form-urlencoded
     Accept: application/json
    

    Request example

     params: {
        "warehouseId":1,
        "inOutType":1,
        "startTime":"2023-01-01 00:00:00",
        "endTime":"2023-01-02 00:00:00",
        "limit":10,
        "page":1
    }
    

    Response data example

     {
      "code": 1,
      "msg": "\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
      "data": {
        "list": [
          {
            "barCode": "1011",
            "warehouseName": "\u81ea\u52a8\u4ed3",
            "qualityStatus": "normal",
            "number": "10000",
            "businessSn": "AN2309026879",
            "businessType": "InWarehouse",
            "operateTime": "2023-09-02 03:37:08",
            "externalOrderSn": "123123"
          },
          {
            "barCode": "1012",
            "warehouseName": "\u81ea\u52a8\u4ed3",
            "qualityStatus": "normal",
            "number": "10000",
            "businessSn": "AN2309026879",
            "businessType": "InWarehouse",
            "operateTime": "2023-09-02 03:37:08",
            "externalOrderSn": ""
          }
        ],
        "totalItems": 35,
        "totalPages": 18
      }
    }
    
    

    Path: /warehouse/inOutLog

    Method: POST

    API description:

    In or Out Warehouse Log

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Y

    Body

    Parameter name Parameter value Required Example Remark
    warehouseId string N 1 warehouse ID
    inOutType string N 1 1:in 2:out
    startTime string Y 2023-01-01 00:00:00
    endTime string Y 2023-01-01 00:00:00, max time period is one month
    limit string N 10 default 10,max value is 500
    page string N 1 default 1

    Response Data

    Name Type Required Remark Default other information
    code number Y 1:success,other fail
    msg string Y success or fail message
    data []object Y

    data.list

    Name Type Example Remark
    barCode string
    warehouseName string
    qualityStatus string enum:normal, bad
    number string goods num
    businessSn string
    businessType string enum:InWarehouse, 出库OutWarehouse
    operateTime string
    externalOrderSn string

    API Search inventory(page)

    Basic Information

    HTTP

    POST /goods/stock HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request parameter example

    params: {
      barCode: "BC001",
      warehouseId: "1",
      goodsStatus: "normal",
      page: "1",
      pageSize: "100"
    }
    

    Response data example

    {
        "code": 1,
        "msg": "\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08",
        "data": {
            "page": "1",
            "pageSize": "1",
            "list": {
                "1010": {
                    "normal": {
                        "totalInventory": "40485",
                        "inventory": "39857",
                        "availableInventory": "26327"
                    }
                }
            }
        }
    }
    

    Path: /goods/stock

    Method: POST

    API description:

    1. If you query a set product, you can only query it through barCode, and do not support specifying warehouseId, startTime, endTime, goodsStatus.
    2. The result of the query includes the set product, and the set product is not distinguished between normal and defective.

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    barCode text No O3O2O1O,BBBUI,NNN Barcode multiple,Separated,Verification regular ^[\w-]+(,[\w-]+)*
    warehouseId text NO 1 Warehouse ID,Do not fill in the default all warehouses
    goodsStatus text No normal Quality status [normal]Genuine(Default),[bad]Defective
    page text NO 1
    pageSize text NO 100
    startTime text NO 2023-01-01 00:00:00 Time range maximum is 1 day
    endTime text NO 2023-01-02 00:00:00 Time range maximum is 1 day

    Response Data

    名称 类型 是否必须 备注
    code number
    msg string
    data object
          page number
          pageSize number
          list []object
                barcode_as_key []object barcode as key
                      normal object goods status
                            totalInventory string
                            inventory string
                            availableInventory string

    换单 API

    换单订单新增 API

    基本信息

    HTTP

    POST  /seller_address/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    请求示例

    params: {
          "mchId":"S0002",
          "sign":"sign",
          "storeCode":"S0001",
          "warehouseCode":"xiaodong1",
          "externalOrder":"E0000000333333",
          "transferType":1,
          "packageExpressSn":"P222",
          "expressSn":"",
          "payType":2,
          "amount":111,
          "isInsurance":1,
          "insuranceAmount":22,
          "remark":"remark",
          "consignee":"Lily",
          "province":"AAA",
          "city":"BBB",
          "district":"CCC",
          "address":"address0000001",
          "consigneePhone":"0123123123",
          "senderProvince":"AAA",
          "senderCity":"BBB",
          "senderDistrict":"CCC",
          "senderAddress":"1-2-3",
          "senderPhone":"123123123123",
          "customsInfo":[
              {
                  "productType":"Lee",
                  "productName":"1111",
                  "productQuantity":10,
                  "productValue":"111",
                  "productBarcode":"111",
                  "productNameEn":"111",
                  "productBrand":"111",
                  "productOrigin":"11111",
                  "weight":111
              }
          ]
    }
    

    返回数据体示例

    {
      "msg": "success",
      "code": 1,
      "data": []
    }
    

    Path: /transfer_order/add

    Method: POST

    接口描述:

    请求参数

    Headers

    参数名称 参数值 是否必须 示例 备注
    Content-Type application/x-www-form-urlencoded

    Body

    参数名称 参数类型 是否必须 示例 备注
    storeCode text Y S0001 店铺编码
    warehouseCode text Y W0001 仓库编码
    externalOrder text Y 1234567 平台订单号
    transferType text Y 1 1:一件一包裹 2:一件多包裹
    packageExpressSn text Y 0001,0002 国内运单号,多个逗号分隔
    expressSn text N 1234567 海外快递,尾程运单号
    payType text Y 1 支付方式:1:COD, 2:Online payment'
    amount text Y 100.10 订单金额
    isInsurance text N 1 是否保价
    insuranceAmount text N 100.10 保价金额
    remark text N glass 备注
    consignee text Y Lily 收货人
    province text Y 北京 省份
    city text Y 北京 城市
    district text Y 朝阳 区域
    address text Y 15号 详细地址
    consigneePhone text Y 13200000000 收件人联系方式
    senderProvince text N 北京 发件人省份
    senderCity text N 北京 发件人城市
    senderDistrict text N 朝阳 发件人区域
    senderAddress text N 15号 发件人详细地址
    senderPhone text N 13200000000 发件人联系电话
    postalCode text N 100000 邮编
    customsInfo text Y 见customsInfo格式 清关信息,json字符串

    customsInfo

    参数名称 参数类型 是否必须 示例 备注
    productType text N 商品类型
    productName text Y 书籍 商品名称
    productQuantity text Y 商品数量
    productValue text Y 100 商品价格
    productBarcode text Y 1234567 商品条码
    productNameEn text Y book 商品名称(en)
    productBrand text N 品牌
    productOrigin text N 原产地
    weight text Y 100 商品重量(kg)

    返回数据

    名称 类型 是否必须 默认值 备注 其他信息
    code number
    msg string

    换单订单撤回 API

    基本信息

    HTTP

    POST  /seller_address/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    请求示例

    params: {
          "mchId":"S0002",
          "sign":"sign",
          "transferSn":"S0001",
          "externalOrder":"S0001",
          "expressSn":"S0001"
    }
    

    返回数据体示例

    {
      "msg": "success",
      "code": 1,
      "data": []
    }
    

    Path: /transfer_order/recall

    Method: POST

    接口描述:

    请求参数

    Headers

    参数名称 参数值 是否必须 示例 备注
    Content-Type application/x-www-form-urlencoded

    Body

    参数名称 参数类型 是否必须 示例 备注
    transferSn text Y 1234567 换单订单
    externalOrder text Y 1234567 平台订单号
    expressSn text Y 1234567 尾程快递运单号

    返回数据

    名称 类型 是否必须 默认值 备注 其他信息
    code number
    msg string

    获取订单轨迹/获取尾程运单号 API

    基本信息

    HTTP

    POST  /seller_address/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    请求示例

    params: {
          "mchId":"S0002",
          "sign":"sign",
          "transferSn":"S0001",
          "orderSn":"S0001",
    }
    

    返回数据体示例

    {
        "msg":"success",
        "code":1,
        "data":{
            "transferSn":"",
            "orderSn":"",
            "expressSn":"",
            "routes":[
                {
                    "action":"T1001",
                    "description":"",
                    "time":"2022-01-01 00:00:00",
                    "timeZone":"Asia/Shanghai"
                }
            ]
        }
    }
    

    Path: /transfer_order/track_order

    Method: POST

    接口描述:

    请求参数

    Headers

    参数名称 参数值 是否必须 示例 备注
    Content-Type application/x-www-form-urlencoded

    Body

    参数名称 参数类型 是否必须 示例 备注
    transferSn text N 1234567 换单订单号
    orderSn text N 1234567 平台订单号
    expressSn text N 1234567 尾程运单号
    Y 1234567 换单订单号\平台订单号\尾程运单号至少传一个

    返回数据

    名称 类型 是否必须 备注
    code number
    msg string
    data object
          transferSn text 换单订单号
          orderSn text 平台订单号
          expressSn text 尾程运单号
          routes object
               action text 动作
               description text 动作描述
               time text 时间
               timeZone text 时区

    Customer API

    API Add Customer file

    Basic Information

    HTTP

    POST  /seller_address/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      nodeSn: "NS001",
      name: "CustomName",
      type: "",
      contact: "",
      telephone: "",
      province: "",
      city:"",
      district:"",
      postalCode: "",
      address: "",
      transferStation:"",
      remark: "",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: []
    }
    

    Path: /seller_address/create

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    nodeSn text Yes TH01050101 Customer ID
    name text Yes Customer name
    type text No Customer name
    contact text No Contact
    telephone text No Telephone
    code text No Address Code
    postalCode text No Address postal code
    address text No Address
    transferStation text No transfer station
    remark text No Remark

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API Customer file disabled

    Basic Information

    HTTP

    POST /seller_address/delete HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      nodeSn: "TH01050101"
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: []
    }
    

    Path: /seller_address/delete

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    nodeSn text Yrs Customer ID

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringNot required

    API modify Customer file

    Basic Information

    HTTP

    POST /seller_address/update HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      nodeSn: "TH01050101",
      name: "CustomName",
      type: "",
      contact: "Jack",
      telephone: "18652125424",
      code: "01050101",
      postalCode: "TH01050101",
      address: "address",
      transferStation:"TH556456566"
      remark: "remark"
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: []
    }
    

    Path: /seller_address/update

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    nodeSn text Yes TH01050101 Customer ID
    name text Yes Customer name
    type text No Customer type
    contact text No Contact
    telephone text No Telephone
    province text No Province
    city text No City
    district text No District
    postalCode text No Address postal code (address is valid when fill in the province , city and postal code )
    address text No Address
    transferStation text No transfer station
    remark text No Remark

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Basic information API

    Search warehouse

    Basic Information

    HTTP

    POST  /open/getWarehouseList HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {}
    

    Response data example

    {
    msg: "success",
    code: 1,
    data: [
      'id' => 1,
      'name' =>'warehouseName',
      'warehouseNo'=>'warehouseCode',
      'contact' =>'Tom',
      'telephone' =>'8888888888',
      'province' =>'province name',
      'city' => 'city name',
      'district' => 'district name',
      'postalCode' => '100000',
      'address' => 'address detail'
    ]
    }
    

    Path: /open/getWarehouseList

    Method: POST

    API description:

    Search warehouse

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response data

    name type example remark
    id int 1 仓库ID
    name string warehouse name warehouse name
    warehouseNo string W001 warehouse code
    contact string Tom contact
    telephone string 8888888888 contact phone
    province string province name province
    city string city name city
    district string district name area
    postalCode string 10000 postal code
    address string address detail address detail

    Search sales store

    Basic Information

    HTTP

    POST  /order/getStoreList HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {}
    

    Response data example

    {
    msg: "success",
    code: 1,
    data: [
      'storeName' =>'store name',
      'storeCode' => 'S001',
      'platformSourceName' =>'platform name',
      'status' => 3
    ]
    }
    

    Path: /order/getStoreList

    Method: POST

    API description:

    Search sales store

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Response Data

    NameTypeRequiredDefaultRemarkOther information
    codenumberNot required
    msgstringNot required
    datastringNot required

    Response Data

    name type example remark
    storeName string store name store name
    storeCode string S0001 store code
    platformSourceName string platform source name Platform of the store
    status string 3 status 1:Disable 2:Save 3:Enable

    New supplier

    Basic Information

    HTTP

    POST  /supply/create HTTP/1.1
    Host: https://open-training.flashfulfillment.co.th/
    Content-Type: application/x-www-form-urlencoded
    Accept: application/json
    

    Request example

    params: {
      code: "SP0001",
      name: "SupplyName",
      typeName: "",
      contact: "",
      phone: "",
      country:"Thailand",
      province: "",
      city:"",
      district:"",
      postalCode: "",
      address: "",
      taxRate:"10",
      remark: "",
    }
    

    Response data example

    {
      msg: "success",
      code: 1,
      data: "SP0001"
    }
    

    Path: /supply/create

    Method: POST

    API description:

    Request parameter

    Headers

    Parameter name Parameter value Required Example Remark
    Content-Type application/x-www-form-urlencoded Yes

    Body

    Parameter name Parameter type Required Example Remark
    code text Yes SP0001 Supplier code
    name text Yes SupplyName Supplier name
    typeName text No Supplier type name
    contact text No contact
    phone text No contact phone
    country text No country [Thailand]:Thailand
    province text No province
    city text No city
    district text No District
    postalCode text No postal code (Only valid when the country, province , city and postal code are filled in)
    address text No Address detail
    taxRate integer No 50 Tax rate An integer of 0-100
    remark text No remark

    Response data

    Name Type Required Default Remark Other information
    codenumberNot required
    msgstringNot required
    data stringRequired Supply code

    Webhook

    Receiver signature verification

    Signature rules

    1. Concatenate strings: First, concatenate the application's key (appKey) and a JSON string (jsonStr) together to form a new string, str = appKey . jsonStr.
    2. Generate HMAC hash: Use a key (appSecret) and the SHA-256 hash algorithm to generate a signature through the HMAC function.
    3. Add to the response header, Authorization = sign;
    4. Contact R&D colleagues for appKey/appSecret, which is different from mchId/key when requesting the API, so please pay attention to the difference.

    DeliveryOrder webhook API

    base info

    push data json

     {
      "method":"deliveryOrder",
      "orderId":"DO23071677705",
      "outTradeNo":"23071665HHRT9B-631-SPXTH031871791907",
      "pno":"SPXTH031871791907",
      "recentPno":"",
      "state":"1014",
      "stateText":"SUCCESS_DELIVER",
      "message":"Your order has been  delivered",
      "opTime":1689603825,
      "updateAt":1689603827,
      "mchId":"C0001"
    }
    

    request params

    name type example remark
    method string deliveryOrder
    orderId string DO23071677705 ffm deliveryOrder sn
    outTradeNo string 23071665HHRT9B order no
    pno string SPXTH031871791907 tracking num
    recentPno string
    state string 1014
    stateText string SUCCESS_DELIVER
    message string Your order has been delivered
    opTime string 1689603825
    updateAt string 1689603827
    mchId string C0001

    state enum

    state stateText remark
    900 STOCK_OUT
    910 BACK
    1001 SUCCESS_VERIFY
    1002 WAREHOUSE_RECEIVE
    1003 SUCCESS_PICK
    1004 SUCCESS_PACK
    1005 WAIT_EXPRESS_PICK_UP
    1014 SUCCESS_DELIVER

    Outbound webhook API

    base info

    push data json

     {
      "method":"returnWarehouse",
      "orderId":"RW23071677705",
      "outTradeNo":"23071665HHRT9B",
      "pno":"SPXTH031871791907",
      "recentPno":"",
      "state":"1014",
      "stateText":"SUCCESS_DELIVER",
      "message":"Your order has been  delivered",
      "opTime":1689603825,
      "updateAt":1689603827,
      "mchId":"C0001"
    }
    

    request params

    name type example remark
    method string returnWarehouse
    orderId string RW23071677705 ffm outbound sn
    outTradeNo string 23071665HHRT9B order no
    pno string SPXTH031871791907 tracking num
    recentPno string
    state string 1014
    stateText string SUCCESS_DELIVER
    message string Your order has been delivered
    opTime string 1689603825
    updateAt string 1689603827
    mchId string C0001

    state enum

    state stateText remark
    1001 SUCCESS_VERIFY
    1002 WAREHOUSE_RECEIVE
    1003 SUCCESS_PICK
    1004 SUCCESS_PACK
    1005 RECEIVED
    1014 SUCCESS_DELIVER

    LossOverflow webhook API

    base info

    push data json

    {
      "method":"lossOverflow",
      "orderId":"IS2308087707",
      "orderSn":"MS2207117980",
      "lossOverflowType":1,
      "opTime":1689603825,
      "goodsList":[
        {
          "barcode":"abc123",
          "changeNum":1,
          "snCode":"",
          "batchCode":"",
          "qualityStatus":""
        }
      ],
      "mchId":"C0001"
    }
    

    request params

    name type example remark
    method string deliveryRollbackOrder
    orderId string SR2308087707 ffm deliveryRollbackOrder no
    orderSn string 23071665HHRT9B order no
    lossOverflowType string 1014
    opTime string 1689603825
    state string 1
    goodsList []object
    mchId string C0001

    lossOverflowType enum

    state stateText remark
    1 Genuine Product Loss
    2 Defective Product Loss
    3 Genuine Product Profit
    4 Defective Product Profit

    DeliveryRollbackOrder webhook API

    base info

    push data json

    {
      "method":"deliveryRollbackOrder",
      "orderId":"SR2308087707",
      "orderSn":"MS2207117980",
      "state":1,
      "opTime":1689603825,
      "mchId":"C0001"
    }
    

    request params

    name type example remark
    method string deliveryRollbackOrder
    orderId string SR2308087707 ffm deliveryRollbackOrder no
    orderSn string 23071665HHRT9B order no
    status string 1014
    opTime string 1689603825
    mchId string C0001

    state enum

    state stateText remark
    1000 Cancel
    1020 Awaiting Approval
    1030 Awaiting Buyer to Send Back
    1045 Arrived
    1050 Receiving Processing
    1060 Receiving Completed

    ArrivalNotice webhook API

    base info

    push data json

    {
      "method":"arrivalNotice",
      "orderId":"AN2308087707",
      "orderSn":"MS2207117980",
      "state":1,
      "opTime":1689603825,
      "mchId":"C0001"
    }
    

    request params

    name type example remark
    method string arrivalNotice
    orderId string AN2308087707 ffm arrival notice no
    orderSn string 23071665HHRT9B order no
    status string 1014
    opTime string 1689603825
    mchId string C0001

    state enum

    state stateText remark
    20 Verify
    30 Goods Down
    50 RECEIPT_DOWN

    Constants

    Response Code

    Code Meaning
    0 Internal server error
    1 Success
    1000 Failed to submit
    1001 Customer not found
    100112 Please log in
    100113 File type is invalid
    100114 Upload label failed
    100115 Barcode required
    100116 Quantity required
    100117 Location required
    100118 Barcode does not exist
    100119 Barcode is disabled
    100120 Quantity format invalid
    100121 Goods location not exists
    100122 Location unavailable
    100123 Barcode does not exist
    100124 Goods is disabled
    100125 Goods and location is repeat
    100126 This location is disabled
    100127 Location type is incorrect
    100128 Not yet supported batch receipt of shelf-life goods
    100129 SN Qty. and receipt Qty. not match
    100130 SN code format invalid
    100131 Added SN code
    100132 SN code repeat
    100133 Not yet supported ASSET code of goods
    100134 The owner is required
    100135 Barcode cannot be repeated
    100136 This product storage rule already exists
    100137 The location is not activated
    100138 The use attribute of the location must be picking or stocking
    100139 Commodity code is required
    100140 Reference values are faltering beyond the specified length
    100141 The parameter type is wrong.
    100142 The quality status is wrong.
    100143 Status error
    100144 Source location is not allowed to be empty
    100145 Source location does not exist
    100146 Source location is not activated
    100147 Source location does not match source warehouse area 
    100148 Barcode is not allowed to be empty
    100149 Data duplication
    100150 Product information does not exist
    100151 The number of transfers is not allowed to be empty
    100152 Wrong format of the number of transfers 
    100153 The number of transfers must be greater than 0
    100154 Target location is not allowed to be empty
    100155 Target location does not exist
    100156 Target location is not activated
    100157 Target location does not match target warehouse area
    100158 It is not allowed to store other shelf life items in this location, Please change the space
    100159 Provider code does not exist
    100160 Duplicate provider code
    100161 Duplicate provider name
    100162 Provider type does not exist
    100163 Provider code is required
    100164 Provider name is required
    100165 Parameter value exceeds specified length
    100166 Provider code is not activated
    100167 Provider code rules error
    100168 This country is not supported yet
    100169 Tax rate is illegal
    100170 Orders without courier tracking no. , no need to upload a label file
    100171 Orders with a courier company code, no need to upload a label file
    100172 Only the temporary location can be received when the parcel is received
    100173 No goods information
    100174 The bar code and quantity must be filled in
    100175 The goods in the table are duplicated
    100176 Price format error
    100177 Goods already exist
    100178 Duplicate goods barcode in the same commodity set
    100179 Goods barcode of set details does not exist
    100180 Goods file of set details is disable
    100181 Goods barcode of set details is required
    100182 Set details no commodity set information
    100183 Goods barcode of commodity set already exists
    100184 Goods barcode of commodity set is required
    100185 Set quantity is required
    100186 Set quantity is error
    100187 The number of set quantity is [1-10000000]
    100188 Goods barcode of commodity set up to 200 characters
    100189 Goods code up to 50 characters
    100190 Goods name of commodity set up to 200 characters
    100191 Specification&model up to 100 characters
    100192 Introduction to commodities up to 1000 characters
    100193 Remark up to 1000 characters
    100194 Picture URL up to 200 characters
    100195 Cost price up to 10000000.00 baht
    100196 Sales price up to 10000000.00 baht
    100197 No set details in the commodity set
    100198 Goods barcode of commodity set is duplicate
    100199 Goods name of commodity set is required
    1002 Invalid signature
    100200 Cost price format errors
    100201 Sales price format errors
    100202 Barcode is required
    100203 The owner did not sign this warehouse
    100204 Barcode does not belong to this owner
    100205 Barcode is duplicate under the same owner
    100206 Barcode does not exist
    100207 Length format errors
    100208 Width format errors
    100209 High format errors
    100210 Weight format errors
    100211 Prepack Weight format errors
    100212 Basic unit does not exist in the system
    100213 Level 2 unit does not exist in the system
    100214 Level 3 unit does not exist in the system
    100215 Basic unit is empty
    100216 Level 2 unit is empty
    100217 Level 3 unit is empty
    100218 Level 2 unit cannot be the same as Basic unit
    100219 Level 2 QTY is empty
    100220 Level 2 QTY format errors
    100221 Level 2 barcode format errors
    100222 Level 3 unit cannot be the same as Level 2 unit/Basic unit
    100223 Level 3 QTY format errors
    100224 Level 3 barcode format errors
    100225 Specified billing for inbound/outbound unit format errors
    100226 Level 2 barcode is duplicated in the form
    100227 Level 3 barcode is duplicated in the form
    100228 Level 2 barcode already exists in the system
    100229 Level 3 barcode already exists in the system
    100230 Basic unit、Level 2 unit not exist
    100231 Level 3 QTY is empty
    100232 The specified billing for inbound/outbound unit not exist
    100233 Business document no. is required
    100234 Starting date is required
    100235 Billing item ID is required
    100236 Quantity required
    100237 Unit is required
    100238 Unit Price is required
    100239 Billing amount is required
    100240 Adjustment amount is required
    100241 Settlement amount is required
    100242 Billing item not exists
    100243 Duplicate business document no. under the same billing item
    100244 This business document no. already has this billing item fee record
    100245 Starting date format errors
    100246 Business document no. format errors
    100247 Quantity format invalid
    100248 Unit Price format errors
    100249 Billing amount format errors
    100250 Adjustment amount format errors
    100251 Settlement amount format errors
    100252 Abnormal amount
    100253 There is a double settlement
    100254 The tracking no. cannot be repeated in the import form
    100255 Tracking already exists
    100256 Tracking is repeated in the form
    100257 Weight format errors
    100258 COD amount format errors
    100259 COD fee format errors
    100260 Tracking no. is required
    100261 Business type is required
    100262 Business type error
    100263 Business order number is scientific notation
    100264 Size format errors
    100265 Weight is required
    100266 Insure declare value format errors
    100267 Discount price format errors
    100268 Expiry date and batch code is required
    100269 Only Shelf life goods is allowed to fill in expiry date and batch
    100270 The expiration date of the same goods in the same location must be same
    100271 Date format errors
    100272 Batch code format errors
    100273 The part batch code conflicts with the already exists batch code
    100274 Original order no. is required
    100275 Original order no. format errors
    100276 Delivery order status error
    100277 The original order no. of the same external order no. must be the same
    100278 Type of return order is required
    100279 Type of return order errors
    100280 Refund method is required
    100281 Refund method errors
    100282 Bank is required
    100283 Bank errors
    100284 Payee,payee's account,and returnee are required
    100285 Returnee's contact method is required
    100286 Return reason is required
    100287 Return reason errors
    100288 Barcode is required
    100289 No this barcode in the delivery order
    100290 Duplicate barcodes in the same external order no.
    100291 Goods name errors
    100292 Return Qty is required
    100293 Return Qty format errors
    100294 Return Qty greater than returnable Qty
    100295 Price of return format errors
    100296 Amount of return format errors
    100297 Amount of return errors
    100298 Freight format errors
    100299 Refund amount format errors
    1003 Order already exists
    100300 Refund amount errors
    100301 CS's remark can be up to 700 characters
    100302 Affiliated warehouse is required
    100303 Affiliated warehouse errors
    100304 Payee,payee's account,and returnee format errors
    100305 CS's remark format errors
    100306 External order number already exists
    100307 Order status error
    100308 External order no. not exist
    100309 Outbound mark error
    100310 Expiring blocked-sale days must be less than or equal to Shelf life days
    100311 Expiring blocked-sale days is illegal
    100312 Manufacture date or expiration date is required, and batch number is required
    1004 Shipper's address not match
    100401 Enable update stock fill in error, please fill in Yes or No
    100402 Stock update percent only supports filling in integers between 1-1000
    100403 Virtual Inventory only supports filling in integer values greater than 0
    100404 Enable put-away&removal fill in error, please fill in Yes or No
    100405 The mapping relationship does not exist
    100406 Under the selected store, the mapping relationship does not exist
    100407 External product code is required
    100408 External product code does not exist
    100409 Under the selected store, external product code does not exist
    100410 There is a warehousing list, please replace other unused temporary storage locations!
    100411 This location has been used by others, please change again
    100412 Minimum removal Qty. only supports filling in integer values greater than 0
    1005 Destination not match
    1006 Order not found
    1007 Warehouse not found
    1008 COD service not subscribed
    1009 COD can not be < 0
    1010 Current address has been notified
    1011 Owner not exists
    1012 Sale platform not exists
    1013 Logistic company not exists
    1014 Delivery order not exists
    1015 Order has been picked up,can not be canceled
    1016 Sales price cannot be 0
    1017 The store does not exist
    1018 Shipper's address and warehouseNo could not both empty
    1019 pno and mchId not match
    1020 Insured declare value can not be < 0
    1021 Shipper's postal code only be a 5 digit number
    1022 Shipper's address not open
    1023 Original delivery order no. is required
    1024 This delivery order information was not found
    1025 Order not shipped, cannot be replenished
    1026 Contact is required
    1027 Sender name is required
    1028 The courier company code is required when entering the courier number in advance
    1029 Does not support the courier company you use
    1030 You do not have permission to use this courier
    1031 The store is not activated
    1032 Please pass at least one request parameter
    1033 Order is not unique, please refine the request condition
    1034 Delivery order canceled
    1035 Order has been shipped and cannot be cancelled
    1036 This operation cannot be performed while it is not active
    1037 Order cannot cancelled, please apply for withdraw first, and cancel directly after cancellation.
    1038 Order has been shipped
    1039 Waiting for withdraw succeed
    1040 Order not approval, no need to withdraw
    1041 The order has begun to be handed over
    1042 Withdraw successfully
    1043 Warehouse is disabled
    1045 Goods is not yet put-away
    1046 Online carrier name is required
    1086 There are some not activated goods in the set
    1101 Contact number is incorrect
    1102 Goods information is incorrect
    1103 The barcode can't empty
    1104 Commodity not exist
    1105 Goods quantity must
    1106 Commodity duplicate
    1107 Order number is not allowed to be empty
    1108 Time format is incorrect
    1109 Form order is invalid
    1110 The product name can't be empty
    1112 When the shelf life is enabled, the shelf life·days and early warning days must be filled
    1113 Order item amount error
    1114 The total order amount is wrong
    1201 Order date can't empty
    1202 Order amount can't empty
    1203 Detailed address and provincial and city postal code can't empty
    1204 Consignee name can't empty
    1205 Phone number can't empty
    1206 The payment method can't empty
    1207 Detailed address and postal code cannot be empty
    1208 Provincial not match
    1209 Province and city required
    1210 Detailed address cannot be empty
    1300 Order date is incorrect
    1301 Order amount is incorrect
    1302 District, Province, Postal Code not match
    1303 The payment method is incorrect
    1304 Commodity not exist
    1305 Commodity not enabled
    1306 Order Qty. is incorrect
    1307 The price is incorrect
    1308 Freight fee is invalid
    1309 Goods barcode already exists
    1310 The same barcode exists in the import file
    1311 The barcode format is incorrect
    1312 Goods code format is incorrect
    1313 Goods shelf life parameter is incorrect
    1314 The SN parameter is incorrect
    1315 Cost price parameter is incorrect
    1316 The length parameter is incorrect
    1317 The width parameter is incorrect
    1318 The height parameter is incorrect
    1319 The weight parameter is incorrect
    1320 Prepackage weight is incorrect
    1321 The number of days for shelf life item are required
    1322 The number of days for shelf life is incorrect
    1323 Warning days for shelf life item are required
    1324 Warning days is incorrect
    1325 Shelf life commodity can't be SN code
    1326 Image URL error
    1327 Image format error
    1328 Warning days must less than Shelf life days
    1329 Payment time is illegal
    1330 Country cannot be empty
    1331 Province cannot be empty
    1332 City cannot be empty
    1333 Zip code cannot be empty
    1334 Refund status is illegal
    1335 Product cannot be empty
    1336 Product format error
    1337 Return type required
    1338 Return type format error
    1339 Order weight format error
    1340 Order size format error
    1341 External order no. up to 64 digits
    1342 The param that is need the invoice is illegal
    1343 Order status is illegal
    1344 Order already exists and pending delivery
    1345 Payment error
    1346 No such goods in the current warehouse
    1347 Not support packaged goods storage
    1348 Goods already inbound , can not changed shelf life attiribute
    1349 Goods already inbound , can not changed SN attiribute
    1350 External goods code cannot be empty
    1351 External goods code cannot repeated in the import form
    1352 External goods code already exists in the system
    1353 System code does not exist
    1354 System code is not enabled
    1355 The entire amount of the coupon is illegal
    1356 The transaction amount cannot be less than 0
    1357 Product discount amount cannot be less than 0
    1358 Delivery bill no. is not valid
    1359 External order no. is not valid
    1360 Tracking no. is not valid
    1361 Please enter a 6-15 digit password
    1362 Verification code expired
    1363 Verification code error
    1364 User or password is incorrect
    1365 User already exists
    1366 Phone number is registered
    1367 Username is invalid
    1368 User not exist
    1369 Verification code sending failed
    1370 Phone number is invalid
    1371 Tracking no. already exists
    1372 Tracking no. repeat
    1373 Tracking no. is required
    1374 Enterprise category does not exist
    1375 Business category must be filled
    1376 Enterprise category status is disabled
    1377 Brand not exists
    1378 Visits are too frequent, please try again later
    1379 Tracking no. does not exist
    1380 Status not exist
    1381 The quantity of goods is illegal
    1400 The same order has the same price
    1401 The order amount is inconsistent
    1402 The owner did not sign this warehouse, or the warehouse ID does not exist
    1403 The quality status parameter is incorrect
    1501 Commodity not yet on sale
    1502 User receipt address not exist
    1503 Parameters required
    1504 Parameter error
    1505 Address cannot be empty
    1506 ID parameter is incorrect
    1507 Quantity parameter is incorrect
    1508 The number of purchases cannot be less minimum qty.
    1509 There is no item in the shopping cart
    1510 Inventory insufficient or out of stock, unable to submit order
    1511 Sold out
    1512 Order approved cannot be cancelled
    1513 Commodity on sale
    1514 The number of on sale cannot be 0
    1600 Not allowed to enter the system
    1601 Branch information not match
    1602 Parameter non-JSON format
    1603 External order no. required
    1604 Delivery bill has been cancelled
    1605 Delivery bill already handover
    1606 Delivery bill has been shipped
    1607 Merge or split of delivery bill cannot be cancelled
    1608 Commodity not exist or is not enabled
    1609 Branch code cannot be empty
    1610 Branch code format is incorrect
    1611 Branch name cannot be empty
    1612 Contact name cannot be empty
    1613 Code and Postal code cannot be empty
    1614 Branch information already exists
    1615 Repository area cannot be empty
    1616 Ware-location coding cannot be empty
    1617 Repository area not exists
    1618 Ware-location coding in the table is repeated
    1619 Already exists in the system
    1620 Location code format is incorrect
    1621 Location sequence format is incorrect
    1622 Location row format is incorrect
    1623 Location group format is incorrect
    1624 Location floor format is incorrect
    1625 Location format is incorrect
    1626 Location maximum volume format is incorrect
    1627 Location maximum load bearing format is incorrect
    1628 Location long format is incorrect
    1629 Location width format is incorrect
    1630 Location high format is incorrect
    1631 Location quality status format is incorrect
    1632 The area cannot edit
    1633 Location ID cannot be empty
    1634 Location ID in the table is repeating
    1635 Location ID not exist
    1636 Quality status cannot be changed
    1637 System preset location cannot be modified
    1638 ASSET format error
    1639 Start time should be less than end time
    1640 Products enabled ASSET, please submit ASSET code
    1641 ASSET already exists in the warehouse
    1642 Duplicate ASSET code exists
    1643 ASSET quantity with inbound bill item quantity not match.
    1644 Inbound type parameter invalid
    1645 Branch format incorrect
    1646 Date range is incorrect
    1647 The code does not exist
    1648 Incorrect format of location type
    1649 Customer type error
    1650 Customer code cannot be empty
    1651 Customer code format error
    1652 Customer code already exists
    1653 Customer name cannot be empty
    1654 Customer not found
    1655 No more than 30 days
    1656 Searching for data cannot exceed 100 item/page
    1657 The time frame is illegal
    1658 The time span should not be greater than one day
    1659 External product code does not exist in the system.
    1660 System code is required.
    1661 Postal code format invalid
    1662 The same customer code exists in the import file
    1663 Ticket number does not exist
    1664 Cannot review out-of-stock orders
    1665 The quantity of goods with ASSET code enabled is not equal to the ASSET code, please modify
    1666 Sales return goods is empty
    1667 Insufficient available stock
    1668 There is no product in outbound bill
    1669 The owner has been disabled.
    1670 Incorrect price parameter
    1671 Declared value cannot be 0
    1672 Declared value cannot exceed 50000 THB
    1673 Declared value must be integer
    1674 Match courier company abnormal
    1675 postcode, province, district cannot be empty
    1676 Tracking no. cannot be empty
    1677 Upload image failed
    1678 Product number is required
    1679 Data is not unique
    1680 Stock-in product cannot be modified
    1681 At least fill in a barcode or product number
    1682 Set of goods information is required
    1683 Set of goods Commodity code is required
    1684 Set of goods quantity must be greater than 0
    1685 Set of goods not exists
    1687 The same goods exist in the set
    1688 Order date format error
    1689 Outbound order number is illegal
    1690 External order number is illegal
    1691 Outbound does not exist
    1692 Provinces and cities do not match
    1693 Duplicate order number
    1694 This order number already exists in system
    1695 Postcode is 5 digits
    1696 COD amount is illegal
    1697 COD amount is an integer between 1-50,000
    1698 The format of 'whether value insurance' is error
    1699 Declared value must be integer
    1700 Declared value cannot be 0
    1701 Declared value cannot exceed 50000 THB
    1702 Order No. up to 50 characters
    1703 Consignee name up to 50 characters
    1704 Buyers message up to 600 characters
    1705 Seller message up to 600 characters
    1706 Outbound bill has been cancelled
    1707 Outbound bill has been approved and cannot be cancelled
    1708 The order is not unique, please use the delivery order no.
    1709 Either the delivery bill no. or the external order no. must be selected
    1710 Not get the label no.
    1711 File not exists
    1712 Supplier does not exist
    1713 Supplier is not enabled
    1714 The input is illegal
    1715 Delivery method errors
    1716 Field length is illegal
    1717 No permission for this warehouse
    1718 Goods type is illegal
    1719 After enabling locked inventory, this feature is not supported
    1720 Support up to 500 barcode queries
    1721 COD amount is an integer between 1-5,000,000
    1722 The consignee cannot be empty
    1723 Provider code is required
    1724 Supplier quotation cannot be empty
    1725 Tax rate cannot be empty
    1726 The supplier quotation format is wrong, only values greater than 0 are supported
    1727 The tax rate format is wrong, only the value between 0 and 100 is supported
    1728 The minimum purchase quantity format is wrong, only the integer is supported
    1729 The minimum purchase quantity needs to be less than the maximum supply quantity
    1730 The format of the maximum supply quantity is wrong, only the integer is supported
    1731 Does not contain purchaser authority, cannot be added
    1732 Quotations cannot be created repeatedly for the same product from the same supplier
    1733 The same goods from the same supplier, there is a quotation in the system
    1734 The outbound order mark does not exist, please maintain the mark in SCM first
    1735 Country does not exist
    1736 The province, city and town is wrong, please fill in again
    1737 The province and city are wrong, please fill in again
    1738 Branch code cannot be empty
    0 Lỗi hệ thống nội bộ
    1 Thành công
    1000 Kiểm tra dữ liệu thất bại
    1001 Khách hàng không tồn tại
    100112 Vui lòng đăng nhập trước
    100113 Loại hình file không hợp lệ
    100114 Tải lên biên lai điện tử thất bại
    100115 Cần phải điền mã vạch
    100116 Cần phải điền số lượng
    100117 Cần phải điền vị trí
    100118 Mã vạch không tồn tại
    100119 Mã vạch đã bị tắt
    100120 Cách thức số lượng không hợp lệ
    100121 Vị trí không tồn tại
    100122 Vị trí không khả dụng
    100123 Mã vạch không tồn tại
    100124 Hàng hóa đã bị tắt
    100125 Hàng hóa và vị trí trùng lặp
    100126 Đã tắt vị trí này
    100127 Loại hình vị trí không hợp lệ
    100128 Chưa thể hỗ trợ hàng hóa có thời hạn sử dụng nhận hàng hàng loạt
    100129 Số lượng SN không nhất trí với số lượng nhận hàng
    100130 Cách thức mã SN không hợp lệ
    100131 Đã tạo mã SN
    100132 Mã SN trùng lặp
    100133 Chưa thể hỗ trợ hàng hóa mã ASSET
    100134 Cần phải điền chủ hàng
    100135 Mã vạch không thể trùng lặp
    100136 Quy tắc lưu trữ của hàng hóa này đã tồn tại
    100137 Chưa bật vị trí này
    100138 Thuộc tính công dụng của vị trí cần phải là nhặt hàng hoặc trữ hàng
    100139 Cần phải điền mã hóa hàng hóa
    100140 Giá tham khảo vượt quá chiều dài quy định
    100141 Loại hình tham số bị ỗi
    100142 Trạng thái chất lượng không hợp lệ
    100143 Trạng thái không hợp lệ
    100144 Vị trí nguồn không thể để trống
    100145 Vị trí nguồn không tồn tại
    100146 Chưa bật vị trí nguồn
    100147 Vị trí nguồn và khu kho hàng nguồn không phù hợp
    100148 Mã vạch không thể để trống
    100149 Dữ liệu trùng lặp
    100150 Thông tin hàng hóa không tồn tại
    100151 Số lượng di chuyển không thể để trống
    100152 Cách thức số lượng di chuyển không hợp lệ
    100153 Số lượng di chuyển cần phải lớn hơn 0
    100154 Vị trí mục tiêu không thể để trống
    100155 Vị trí mục tiêu không tồn tại
    100156 Chưa bật vị trí mục tiêu
    100157 Vị trí mục tiêu và khu kho hàng mục tiêu không phù hợp
    100158 Vị trí này không thể đặt hàng hóa có hạn sử dụng khác, vui lòng thay đổi vị trí
    100159 Mã hóa nhà cung cấp không tồn tại
    100160 Mã hóa nhà cung cấp trùng lặp
    100161 Tên nhà cung cấp trùng lặp
    100162 Loại hình nhà cung cấp không tồn tại
    100163 Cần phải điền mã hóa nhà cung cấp
    100164 Cần phải tải tên nhà cung cấp
    100165 Giá trị tham số vượt quá chiều dài quy định
    100166 Chưa bật mã hóa nhà cung cấp
    100167 Quy tắc mã hóa nhà cung cấp không hợp lệ
    100168 Chưa thể hỗ trợ quốc gia này
    100169 Thuế suất không hợp lệ
    100170 Đơn đặt hàng không có số đơn chuyển phát nhanh không cần tải lên file biên lai
    100171 Đơn đặt hàng có mã hóa chuyển phát nhanh không cần tải lên file biên lai
    100172 Khi nhận hàng chỉ có thể lưu trữ trên vị trí tạm giữ
    100173 Không có thông tin hàng hóa
    100174 Cần phải điền mã vạch và số lượng hàng hóa
    100175 Hàng hóa trong bảng trùng lặp
    100176 Cách thức giá cả không hợp lệ
    100177 Hàng hóa đã tồn tại
    100178 Mã vạch của cùng một bộ hàng hóa bị trùng lặp
    100179 Mã vạch của hàng hóa phụ không tồn tại
    100180 Chưa kích hoạt hồ sơ hàng hóa phụ
    100181 Cần phải điền mã vạch của hàng hóa phụ
    100182 Hàng hóa phụ không có thông tin của bộ hàng hóa
    100183 Mã vạch của bộ hàng hóa đã tồn tại trong kho hàng
    100184 Cần phải điền mã vạch của bộ hàng hóa
    100185 Cần phải điền số lượng hàng hóa
    100186 Số lượng hàng hóa phụ không hợp lệ
    100187 Phạm vi số lượng của hàng hóa phụ là [1-10000000]
    100188 Chiều dài tối đa của mã vạch bộ hàng hóa là 200 ký tự
    100189 Chiều dài tối đa của số bộ hàng hóa là 50 ký tự
    100190 Chiều dài tối đa của tên bộ hàng hóa là 200 ký tự
    100191 Chiều dài tối đa của số quy cách và mô hình là 100 ký tự
    100192 Chiều dài tối đa của giới thiệu hàng hóa là 1.000 ký tự
    100193 Chiều dài tối đa của ghi chú là 1.000 ký tự
    100194 Chiều dài tối đa của hình ảnh URL là 200 ký tự
    100195 Giá vốn tối đa là 10000000.00 baht Thái
    100196 Giá bán thống nhất tối đa là 10000000.00 baht
    100197 Tong bộ hàng hóa không có hàng hóa phụ
    100198 Mã vạch của bộ hàng hóa trùng lặp
    100199 Cần phải điền tên của bộ hàng hóa
    1002 Ký tên không hợp lệ
    100200 Cách thức của giá vốn không hợp lệ
    100201 Cách thức của giá bán không hợp lệ
    100202 Cần phải điền mã vạch hàng hóa
    100203 Không phải là chủ hàng ký hợp đồng với kho hàng này
    100204 Mã vạch hàng hóa không thuộc về chủ hàng
    100205 Mã vạch hàng hóa của chủ hàng tương đồng trùng lặp
    100206 Mã vạch hàng hóa không tồn tại
    100207 Cách thức chiều dài của hàng hóa không hợp lệ
    100208 Cách thức chiều rộng của hàng hóa không hợp lệ
    100209 Cách thức chiều cao của hàng hóa không hợp lệ
    100210 Cách thức khối lượng không hợp lệ
    100211 Cách thức của khối lượng đóng gói trước không hợp lệ
    100212 Đơn vị cơ sở không tồn tại trong hệ thống
    100213 Đơn vị cấp hai không tồn tại trong hệ thống
    100214 Đơn vị cấp ba không tồn tại trong hệ thống
    100215 Không có đơn vị cơ sở
    100216 Không có đơn vị cấp hai
    100217 Không có đơn vị cấp ba
    100218 Đơn vị cấp hai và đơn vị cơ sở không thể giống nhau
    100219 Không có số lượng của đơn vị cấp hai
    100220 Cách thức của số lượng đơn vị cấp hai không hợp lệ
    100221 Cách thức của mã vạch đơn vị cấp hai không hợp lệ
    100222 Đơn vị cấp ba và đơn vị cấp hai/đơn vị cơ sở không thể giống nhau
    100223 Cách thức của số lượng đơn vị cấp ba không hợp lệ
    100224 Cách thức của mã vạch đơn vị cấp ba không hợp lệ
    100225 Cách thức đơn vị tính phí của nhập kho/xuất kho chỉ định không hợp lệ
    100226 Mã vạch đơn vị cấp hai trong bảng trùng lặp
    100227 Mã vạch đơn vị cấp ba trong bảng trùng lặp
    100228 Mã vạch đơn vị cấp hai đã tồn tại trong hệ thống
    100229 Mã vạch đơn vị cấp ba đã tồn tại trong hệ thống
    100230 Đơn vị cơ sở và đơn vị cấp hai không tồn tại
    100231 Không có số lượng của đơn vị cấp ba
    100232 Đơn vị tính phí nhập kho/xuất kho chỉ định không tồn tại
    100233 Cần phải điền số đơn nghiệp vụ
    100234 Cần phải điền ngày tháng nghiệp vụ bắt đầu
    100235 Cần phải điền ID mục tính phí
    100236 Cần phải điền số lượng
    100237 Cần phải điền đơn vị
    100238 Cần phải điền đơn giá
    100239 Cần phải điền số tiền tính phí
    100240 Cần phải điền số tiền điều chỉnh
    100241 Cần phải điền số tiền quyết toán
    100242 Mục tính phí không tồn tại
    100243 Số đơn nghiệp vụ của cùng một mục tính phí bị trùng lặp
    100244 Số đơn nghiệp vụ này đã có lịch sử về mục tính phí này
    100245 Cách thức ngày tháng nghiệp vụ bắt đầu không hợp lệ
    100246 Cách thức số đơn nghiệp vụ không hợp lệ
    100247 Cách thức số lượng không hợp lệ
    100248 Cách thức đơn giá không hợp lệ
    100249 Cách thức số tiền tính phí không hợp lệ
    100250 Cách thức số tiền điều chỉnh không hợp lệ
    100251 Cách thức số tiền quyết toán không hợp lệ
    100252 Số tiền khác thường
    100253 Có hóa đơn kết toán lặp lại
    100254 Số vận đơn không thể trùng lặp trong bảng nhập
    100255 Vận đơn đã tồn tại
    100256 Vận đơn bị trùng lặp trong bảng
    100257 Cách thức khối lượng không hợp lệ
    100258 Cách thức số tiền COD không hợp lệ
    100259 Cách thức phí xử lý COD không hợp lệ
    100260 Cần phải điền số vận đơn
    100261 Cần phải điền loại hình nghiệp vụ
    100262 Loại hình nghiệp vụ không hợp lệ
    100263 Số đơn nghiệp vụ là cách ký hiệu hoá khoa học
    100264 Cách thức của kích thước không hợp lệ
    100265 Cần phải điền khối lượng
    100266 Cách thức phí đảm bảo giá trị không hợp lệ
    100267 Cách thức số tiền ưu đãi không hợp lệ
    100268 Cần phải điền ngày tháng hết hạn và số lô
    100269 Chỉ có hàng hóa có hạn sử dụng mới được điền ngày tháng hết hạn và số lô
    100270 Ngày tháng hết hạn của cùng một hàng hóa trên cùng một vị trí cần phải là tương đồng
    100271 Cách thức ngày tháng không hợp lệ
    100272 Cách thức số lô không hợp lệ
    100273 Số lô này mâu thuẫn với số thứ tự đã tồn tại
    100274 Cần phải điền số đơn bên ngoài
    100275 Cách thức của số đơn bên ngoài không hợp lệ
    100276 Trạng thái của đơn gửi hàng không hợp lệ
    100277 Số đơn đặt hàng ban đầu của cùng một số đơn bên ngoài cần phải tương đồng
    100278 Cần phải điền loại hình đơn trả hàng
    100279 Loại hình đơn trả hàng không hợp lệ
    100280 Cần phải điền cách trả lại tiền
    100281 Cách trả lại tiền không hợp lệ
    100282 Cần phải điền ngân hàng
    100283 Ngân hàng không hợp lệ
    100284 Cần phải điền người thu tiền, tài khoản người thu tiền và người trả hàng
    100285 Cần phải điền cách liên hệ của người trả lại tiền
    100286 Cần phải điền nguyên nhân trả hàng
    100287 Nguyên nhân trả hàng không hợp lệ
    100288 Cần phải điền mã vạch hàng hóa
    100289 Trong đơn gửi hàng không có mã vạch hàng hóa này
    100290 Mã vạch hàng hóa của cùng một số đơn bên ngoài bị trùng lặp
    100291 Tên hàng hóa không hợp lệ
    100292 Cần phải điền số lượng trả hàng
    100293 Cách thức số lượng trả hàng không hợp lệ
    100294 Số lượng trả hàng lớn hơn só lượng có thể trả của hàng hóa này
    100295 Cách thức giá cả trả hàng không hợp lệ
    100296 Cách thức số tiền trả hàng không hợp lệ
    100297 Số tiền trả hàng không hợp lệ
    100298 Cách thức cước phí không hợp lệ
    100299 Cách thức số tiền trả lại tiền không hợp lệ
    1003 Đơn đặt hàng đã tồn tại
    100300 Số tiền trả lại không hợp lệ
    100301 Chiều dài của dịch vụ khách hàng tối đa là 700 ký tự
    100302 Cần phải điền kho hàng trả hàng đến
    100303 Kho hàng trả hàng đến không hợp lệ
    100304 Cách thức người thu tiền, tài khoản người thu tiền và người trả hàng không hợp lệ
    100305 Cách thức ghi chú của dịch vụ khách hàng không hợp lệ
    100306 Đã có số đơn bên ngoài
    100307 Trạng thái của đơn đặt hàng không hợp lệ
    100308 Số đơn đặt hàng bên ngoài không tồn tại
    100309 Giá trị ký hiệu xuất kho không hợp lệ
    100310 Số ngày cấm bán sắp hết hạn cần phải nhỏ hơn hoặc bằng số ngày của hạn sử dụng
    100311 Số ngày cấm bán sắp hết hạn không hợp lệ
    100312 Cần phải điền ngày sản xuất hoặc ngày hết hạn và số lô
    1004 Nơi gửi hàng không phù hợp
    100401 Bật cập nhật tồn kho bị lỗi, vui lòng điền Yes hoặc No
    100402 Chỉ được lấp đầy bằng con số từ 1-100
    100403 Chỉ được lấp đầy bằng số nguyên lớn hơn 0
    100404 Bật lên xuống kệ bị lỗi, vui lòng điền Yes hoặc No
    100405 Mối quan hệ ánh xạ không tồn tại
    100406 Trong cửa hàng đã chọn, mối quan hệ ánh xạ này không tồn tại
    100407 Cần phải điền mã vạch hàng hóa bên ngoài
    100408 Mã vạch hàng hóa bên ngoài không tồn tại
    100409 Trong cửa hàng đã chọn, mã vạch hàng hóa bên ngoài không tồn tại
    100410 Đã có đơn nhập kho, vui lòng thay thế các vị trí tạm giữ chưa được sử dụng khác!
    100411 Vị trí này đã được sử dụng bởi người khác, vui lòng thay đổi
    100412 Số lượng xuống kệ tối thiểu chỉ được lấp đầy bằng số nguyên lớn hơn 0
    1005 Điểm đến không phù hợp
    1006 Đơn đặt hàng không tồn tại
    1007 Kho hàng không tồn tại
    1008 Chưa mở dịch vụ COD
    1009 COD không thể nhỏ hơn 0
    1010 Khi khách hàng có thông báo lấy hàng chưa hoàn thành, không cần gửi thông báo
    1011 Chủ hàng không tồn tại
    1012 Nền tảng bán hàng không tồn tại
    1013 Công ty lô-gi-stíc không tồn tại
    1014 Đơn gửi hàng không tồn tại
    1015 Không thể xóa đơn đặt hàng đã lấy hàng
    1016 Giá bán thống nhất không thể là 0
    1017 Cửa hàng không tồn tại
    1018 Nơi gửi hàng và kho hàng không thể đều để trống
    1019 Số kiện hàng pno không phù hợp với mchld khách hàng
    1020 Giá bảo hiểm không được nhỏ hơn 0
    1021 Mã bưu chính của địa chỉ gửi hàng chỉ có thể có 5 con số
    1022 Địa chỉ gửi hàng chưa mở dịch vụ
    1023 Cần phải điền đơn gửi hàng ban đầu
    1024 Chưa tìm thấy được thông tin về đơn gửi hàng này
    1025 Đơn đặt hàng chưa gửi hàng, không thể bổ sung hàng hóa
    1026 Cần phải điền cách liên hệ
    1027 Cần phải điền người gửi hàng
    1028 Khi nhập số đơn chuyển phát nhanh trước, cần phải điền mã hóa của công ty chuyển phát nhanh
    1029 Chưa thể hỗ trợ công ty chuyển phát nhanh mà bạn sử dụng
    1030 Bạn không có quyền hạn sử dụng chuyển phát nhanh này
    1031 Chưa bật cửa hàng
    1032 Vui lòng chuyển ít nhất một tham số yêu cầu
    1033 Đơn đặt hàng không phải là duy nhất, vui lòng tinh chỉnh các điều kiện yêu cầu
    1034 Đã hủy bỏ đơn gửi hàng
    1035 Đơn đặt hàng đã gửi hàng, không thể hủy bỏ
    1036 Trong trạng thái chưa kích hoạt không thể tiến hành thao tác này
    1037 Đơn đặt hàng không thể hủy bỏ, vui lòng xin thu hồi trước, sau khi thu hồi có thể trực tiếp hủy bỏ
    1038 Đơn đặt hàng đã gửi hàng
    1039 Chờ thu hồi thành công
    1040 Đơn đặt hàng chưa được xét duyệt, không cần thu hồi
    1041 Đơn đặt hàng đã bắt đầu giao nhận
    1042 Thu hồi thành công
    1043 Tắt kho hàng này
    1045 Hàng hóa chưa lên kệ
    1046 Cần phải điền tên đơn vị vận chuyển trực tuyến
    1086 Trong bộ hàng hóa có hàng hóa chưa bật
    1101 Cách thức số điện thoại không hợp lệ
    1102 Thông tin hàng hóa không hợp lệ
    1103 Mã vạch không thể để trống
    1104 Hàng hóa không tồn tại
    1105 Cần phải điền số lượng hàng hóa
    1106 Hàng hóa trùng lặp
    1107 Số đơn đặt hàng không thể để trống
    1108 Cách thức thời gian không hợp lệ
    1109 Cách thức đơn đặt hàng không hợp lệ
    1110 Tên hàng hóa không thể để trống
    1112 Khi bật thời hạn sử dụng, cần phải điền số ngày thời hạn sử dụng và số ngày cảnh báo sắp hết hạn
    1113 Số tiền hàng hóa trong đơn đặt hàng không hợp lệ
    1114 Tổng số tiền của đơn đặt hàng không hợp lệ
    1201 Ngày tháng đặt hàng không thể để trống
    1202 Số tiền đơn đặt hàng không thể để trống
    1203 Địa chỉ cụ thể và mã bưu chính quận,thành phố và tỉnh không thể để trống
    1204 Tên người nhận hàng không thể để trống
    1205 Số điện thoại không thể để trống
    1206 Cách thanh toán không thể để trống
    1207 Địa chỉ cụ thể và mã bưu chính không thể để trống
    1208 Quận, thành phố và tỉnh không phù hợp
    1209 Cần phải điền tỉnh và thành phố
    1210 Địa chỉ cụ thể không thể để trống
    1300 Ngày tháng đặt hàng không hợp lệ
    1301 Số tiền đơn đặt hàng không hợp lệ
    1302 Mã bưu chính quận, thành phố và tỉnh không phù hợp
    1303 Cách thanh toán không hợp lệ
    1304 Hàng hóa không tồn tại
    1305 Hàng hóa chưa bật
    1306 Số lượng mua không hợp lệ
    1307 Giá bán không hợp lệ
    1308 Cước phí không hợp lệ
    1309 Mã vạch hàng hóa đã tồn tại
    1310 File nhập tồn tại mã vạch tương đồng
    1311 Cách thức mã vạch không hợp lệ
    1312 Cách thức số hàng hóa không hợp lệ
    1313 Tham số thời hạn sử dụng hàng hóa không hợp lệ
    1314 Tham số SN không hợp lệ
    1315 Tham số giá vốn không hợp lệ
    1316 Tham số chiều dài không hợp lệ
    1317 Tham số chiều rộng không hợp lệ
    1318 Tham số chiều cao không hợp lệ
    1319 Tham số khối lượng không hợp lệ
    1320 Khối lượng đóng gói trước không hợp lệ
    1321 Cần phải điền số ngày thời hạn sử dụng của hàng hóa có thời hạn sử dụng
    1322 Số ngày của thời hạn sử dụng không hợp lệ
    1323 Cần phải điền số ngày cảnh báo sắp hết hạn của hàng hóa có thời hạn sử dụng
    1324 Số ngày cảnh báo sắp hết hạn không hợp lệ
    1325 Hàng hóa có thời hạn sử dụng không thể đồng thời là hàng hóa SN
    1326 Địa chỉ hình ảnh không hợp lệ
    1327 Cách thức hình ảnh không hợp lệ
    1328 Số ngày cảnh báo sắp hết hạn cần phải nhỏ hơn số ngày của thời hạn sử dụng
    1329 Thời gian trả tiền không hợp lệ
    1330 Quốc gia không thể để trống
    1331 Tỉnh không thể để trống
    1332 Thành phố không thể để trống
    1333 Mã bưu chính không thể để trống
    1334 Trạng thái trả tiền không hợp lệ
    1335 Hàng hóa không thể để trống
    1336 Cách thức hàng hóa không hợp lệ
    1337 Cần phải điền loại hình trả hàng
    1338 Cách thức loại hình trả hàng không hợp lệ
    1339 Cách thức khối lượng của đơn đặt hàng không hợp lệ
    1340 Cách thức kích thước của đơn đặt hàng không hợp lệ
    1341 Số đơn đặt hàng bên ngoài tối đa có 64 ký tự
    1342 Có phải cần hóa đơn hay không không hợp lệ
    1343 Trạng thái của đơn đặt hàng không hợp lệ
    1344 Đơn đặt hàng đã tồn tại và chưa gửi hàng
    1345 Phương thức thanh toán không hợp lệ
    1346 Kho hàng bây giờ không có hàng hóa này
    1347 Không hỗ trợ bộ hàng hóa nhập kho
    1348 Hàng hóa đã nhập kho không thể thay đổi có phải là hạn sử dụng
    1349 Hàng hóa đã nhập kho không thể thay đổi cói phải là thuộc tính SN
    1350 Mã hóa hàng hóa bên ngoài không thể để trống
    1351 Mã hóa hàng hóa bên ngoài không thể trùng lặp trong bảng được nhập
    1352 Mã hóa hàng hóa bên ngoài đã tồn tại trong hệ thống
    1353 Mã hóa hệ thống đã tồn tại
    1354 Mã hóa hệ thống không phải trong trạng thái bật
    1355 Số tiền ưu đãi của cả đơn không hợp lệ
    1356 Số tiền giao dịch hàng hóa không được nhỏ hơn 0
    1357 Số tiền ưu đãi hàng hóa không được nhỏ hơn 0
    1358 Số đơn gửi hàng không hợp lệ
    1359 Số đơn đặt hàng bên ngoài không hợp lệ
    1360 Số vận đơn không hợp lệ
    1361 Vui lòng nhập mật khẩu có 6-15 ký tự
    1362 Mã xác minh đã hết hiệu lực
    1363 Mã xác minh không hợp lệ
    1364 Tên người dùng hoặc mật khẩu không hợp lệ
    1365 Tên người dùng đã tồn tại
    1366 Số điện thoại đã bị đăng ký
    1367 Tên người dùng không hợp lệ
    1368 Người dùng không tồn tại
    1369 Gửi mã xác minh thất bại
    1370 Số điện thoại không hợp lệ
    1371 Số đơn chuyển phát nhanh đã tồn tại
    1372 Số đơn chuyển phát nhanh trùng lặp
    1373 Cần phải điền số đơn chuyển phát nhanh
    1374 Loại hình doanh nghiệp không tồn tại
    1375 Cần phải điền loại hình doanh nghiệp
    1376 Tắt trạng thái loại hình doanh nghiệp
    1377 Nhãn hàng hàng hóa không tồn tại
    1378 Lượt truy cập quá thường xuyên, vui lòng thử lại sau
    1379 Số vận đơn không tồn tại
    1380 Trạng thái không tồn tại
    1381 Số lượng hàng hóa không hợp lệ
    1400 Đơn đặt hàng tương đồng có hàng hóa có giá bán tương đồng
    1401 Số tiền đơn đặt hàng không phù hợp
    1402 Chủ hàng chưa ký hợp đồng với kho hàng này hoặc ID kho hàng không tồn tại
    1403 Tham số trạng thái chất lượng không hợp lệ
    1501 Hàng hóa chưa lên kệ
    1502 Địa chỉ nhận hàng của người dùng không tồn tại
    1503 Cần phải điền tham số
    1504 Tham số không hợp lệ
    1505 Địa chỉ không thể để trống
    1506 Tham số ID không hợp lệ
    1507 Tham số số lượng không hợp lệ
    1508 Số lượng mua không thể nhỏ hơn số lượng đặt hàng ít nhất
    1509 Trong giỏ hàng không có hàng hóa này
    1510 Tồn kho hàng hóa không đủ hoặc hết hàng, không thể đệ trình đơn đặt hàng
    1511 Hàng hóa đã xuống kệ
    1512 Đơn đặt hàng đã được xét duyệt không thể hủy bỏ
    1513 Hàng hóa đã lên kệ
    1514 Số lượng lên kệ không thể là 0
    1600 Chưa ủy quyền đăng nhập
    1601 Thông tin chi nhánh không phù hợp
    1602 Tham số không phải là cách thức JSON
    1603 Cần phải điền số đơn đặt hàng bên ngoài
    1604 Đã hủy đơn gửi hàng
    1605 Đơn gửi hàng đã bắt đầu giao nhận
    1606 Đơn gửi hàng đã hoàn thành gửi hàng
    1607 Không thể hủy đơn đặt hàng được hợp lại hoặc tách ra
    1608 Hàng hóa không tồn tại hoặc chưa bật
    1609 Số chi nhánh không thể để trống
    1610 Cách thức số chi nhánh không hợp lệ
    1611 Tên chi nhánh không thể để trống
    1612 Người liên hệ không thể để trống
    1613 Mã hóa và mã bưu chính không thể để trống
    1614 Thông tin chi nhánh đã tồn tại
    1615 Khu kho hàng không thể để trống
    1616 Mã hóa vị trí không thể để trống
    1617 Khu kho hàng này không tồn tại
    1618 Mã hóa vị trí trong bảng trùng lặp
    1619 Đã tồn tại trong hệ thống
    1620 Cách thức mã hóa vị trí không hợp lệ
    1621 Cách thức số thứ tự vị trí không hợp lệ
    1622 Cách thức hàng vị trí không hợp lệ
    1623 Cách thức nhóm vị trí không hợp lệ
    1624 Cách thức tầng vị trí không hợp lệ
    1625 Cách thức vị trí không hợp lệ
    1626 Cách thức thể tích tối đa của vị trí không hợp lệ
    1627 Cách thức chịu tải tối đa của vị trí không hợp lệ
    1628 Cách thức dài của vị trí không hợp lệ
    1629 Cách thức rộng của vị trí không hợp lệ
    1630 Cách thức cao của vị trí không hợp lệ
    1631 Cách thức trạng thái chất lượng vị trí không hợp lệ
    1632 Không thể sửa khu kho hàng
    1633 ID vị trí không thể để trống
    1634 ID vị trí trong bảng trùng lặp
    1635 ID vị trí không tồn tại
    1636 Không thể thay đổi trạng thái chất lượng
    1637 Không thể sửa vị trí cài đặt trước của hệ thống
    1638 Cách thức ASSET không hợp lệ
    1639 Thời gian bắt đầu phải sớm hơn thời gian kết thúc
    1640 Hàng hóa đã bật ASSET, vui lòng đệ trình mã hóa ASSET
    1641 ASSET đã tồn tại trong kho
    1642 ASSET trùng lặp
    1643 Số lượng ASSET không nhất trí với số lượng hàng hóa trong đơn nhập kho
    1644 Tham số loại hình nhập kho không hợp lệ
    1645 Cách thức chi nhánh không hợp lệ
    1646 Phạm vi ngày tháng không hợp lệ
    1647 Mã hóa không tồn tại
    1648 Cách thức loại hình vị trí không hợp lệ
    1649 Loại hình khách hàng không hợp lệ
    1650 Mã hóa khách hàng không thể để trống
    1651 Cách thức mã hóa khách hàng không hợp lệ
    1652 Mã hóa khách hàng đã tồn tại
    1653 Tên khách hàng không thể để trống
    1654 Không thể tìm thấy khách hàng
    1655 Không được vượt quá 30 ngày
    1656 Mỗi trang có thể tra cứu dữ liệu không quá 100 điều
    1657 Phạm vi thời gian không hợp lệ
    1658 Khoảng thời gian không được lớn hơn 1 ngày
    1659 Mã hóa hàng hóa bên ngoài trong hệ thống không tồn tại
    1660 Cần phải điền mã hóa hệ thống
    1661 Cách thức mã bưu chính không hợp lệ
    1662 File đã nhập có mã hóa khách hàng tương đồng
    1663 Số đơn không tồn tại
    1664 Không thể xét duyệt đơn đặt hàng hết hàng
    1665 Số lượng hàng hóa đã bật mã ASSET không bằng mã ASSET, vui lòng sửa
    1666 Trong đơn trả hàng không có hàng hóa
    1667 Tồn kho khả dụng không đủ
    1668 Trong đơn xuất kho không có hàng hóa
    1669 Chủ hàng đã bị cấm dụng
    1670 Tham số giá trị không hợp lệ
    1671 Giá trị khai báo không được là 0
    1672 Giá trị khai báo không được lớn hơn 50,000 baht Thái
    1673 Giá trị khai báo là số nguyên
    1674 Đối sánh công ty chuyển phát nhanh bị khác thường
    1675 Mã bưu chính, tỉnh và thành phố không thể để trống
    1676 Số biên lai không thể để trống
    1677 Tải lên hình ảnh thất bại
    1678 Cần phải tải số hàng hóa
    1679 Dữ liệu không duy nhất
    1680 Không thể sửa hàng hóa đã nhập kho
    1681 Ít nhất phải điền mã vạch hoặc số hàng hóa
    1682 Thông tin hàng hóa trong bộ hàng hóa cần phải
    1683 Cần phải điền mã vạch hàng hóa trong bộ hàng hóa
    1684 Số lượng hàng hóa trong bộ hàng hóa cần phải lớn hơn 0
    1685 Hàng hóa trong bộ hàng hóa không tồn tại
    1687 Trong bộ hàng hóa có hàng hóa tương đồng
    1688 Cách thức ngày tháng đặt hàng không hợp lệ
    1689 Số đơn xuất kho không hợp lệ
    1690 Số đơn bên ngoài không hợp lệ
    1691 Đơn xuất kho không tồn tại
    1692 Tỉnh và thành phố không phù hợp
    1693 Số đơn đặt hàng trùng lặp
    1694 Số đơn đặt hàng đã tồn tại trong hệ thống
    1695 Mã bưu chính là 5 ký tự
    1696 Số tiền COD không hợp lệ
    1697 Số tiền COD là số nguyên từ 1-50.000
    1698 Cách thức đảm bảo giá trị hay không không hợp lệ
    1699 Giá trị khai báo là số nguyên
    1700 Giá trị khai báo không thể là 0
    1701 Giá trị khai báo không thể lớn hơn 50.000 baht Thái
    1702 Chiều dài tối đa về số đơn đặt hàng là 64 ký tự
    1703 Chiều dài tối đa về tên của người nhận hàng là 50 ký tự
    1704 Chiều dài tối đa về ghi chú của người mua là 600 ký tự
    1705 Chiều dài tối đa về ghi chú của người bán là 600 ký tự
    1706 Đã hủy bỏ đơn xuất kho
    1707 Đã xét duyệt đơn xuất kho không thể hủy bỏ
    1708 Đơn đặt hàng không duy nhất, vui lòng sử dụng số đơn gửi hàng
    1709 Cần phải chọn số đơn gửi hàng hoặc số đơn bên ngoài
    1710 Chưa lấy số biên lai điện tử
    1711 File không tồn tại
    1712 Nhà cung cấp không tồn tại
    1713 Chưa bật nhà cung cấp
    1714 Nội dung nhập không hợp lệ
    1715 Cách vận chuyển không hợp lệ
    1716 Chiều dài của ký tự không hợp lệ
    1717 Không có quyền hạn tồn kho này
    1718 Loại hình hàng hóa không hợp lệ
    1719 Sau khi bật khóa tồn kho, không hỗ trợ công dụng này
    1720 Hỗ trợ tra cứu tối đa 500 cái mã vạch
    1721 Kim ngạch COD là số nguyên từ 1-5000000
    1722 Người nhận hàng không được để trống
    1723 Cần phải điền mã hóa nhà cung cấp
    1724 Báo giá của nhà cung cấp không được để trống
    1725 Thuế suất không được để trống
    1726 Cách thức báo giá của nhà cung cấp không hợp lệ, chỉ được lấp đầy bằng con số lớn hơn 0
    1727 Cách thức thuế suất không hợp lệ, chỉ được lấp đầy bằng con số từ 0 đến 100
    1728 Cách thức số lượng đặt mua tối thiểu không hợp lệ, chỉ được lấp đầy bằng con số
    1729 Số lượng đặt mua tối thiểu cần phải nhỏ hơn số lượng cung cấp tối đa
    1730 Cách thức số lượng cung cấp tối đa không hợp lệ, chỉ được lấp đầy bằng con số
    1731 Không bao gồm quyền hạn của nhân viên đặt mua, không thể được thêm vào
    1732 Hàng hóa cùng một nhà cung cấp không thể bị trùng lặp
    1733 Trong hệ thống đã có đơn báo giá của hàng hóa tương đồng cùng một nhà cung cấp
    1734 Ký hiệu đơn xuất kho không tồn tại, vui lòng biên tập ký hiệu trong SCM trước
    1735 Quốc gia không tồn tại
    1736 Tỉnh, thành phố hoặc thị trấn không hợp lệ, vui lòng điền lại
    1737 Tỉnh hoặc thành phố không hợp lệ, vui lòng điền lại
    1738 Mã hóa chi nhánh không được để trống

    Demo Download

    C# Demo

    C# Demo

    PHP Demo

    PHP Demo PHP Demo(second sign)(使用第二种签名算法)

    Java Demo

    JAVA Demo

    JS Demo

    JS Demo