海星仓开放平台
  1. 订单
海星仓开放平台
  • 开发者指南
    • 对接必看
    • 枚举
    • 错误码
    • 授权接口
      POST
  • 基础资料
    • 店铺列表
      GET
    • 开通的仓库列表
      GET
    • 物流渠道列表
      GET
    • 国家列表
      GET
  • 商品
    • 商品修改
      POST
    • 商品删除
      POST
    • 商品新增
      POST
    • 商品列表
      GET
    • 商品详情
      GET
    • 商品分类
      GET
    • 商品品牌
      GET
    • 商品单位
      GET
  • 订单
    • 订单新增
      POST
    • 订单列表
      GET
    • 订单详情
      GET
    • 包裹列表
      GET
    • 订单拦截
      POST
  • 库存
    • 库存查询
      GET
    • 库存日志查询
      GET
  • 入库
    • 入库预约完结
      POST
    • 入库预约作废
      POST
    • 入库预约确认
      POST
    • 新增入库预约
      POST
    • 入库预约列表
      GET
    • 入库预约详情
      GET
  • 退货
    • 退件列表
    • 退件申请详情
  1. 订单

订单列表

GET
/open/order/list
订单管理-开放平台
订单列表

请求参数

Query 参数
page
string 
页码(默认1)
可选
pageSize
string 
可选
每页条数(限制:1-50,默认15)
deliveryTimeBegin
string 
可选
发货开始时间(范围不能超过30天)
deliveryTimeEnd
string 
可选
发货开始时间(范围不能超过30天)
updateTimeBegin
string 
可选
更新开始时间(范围不能超过30天)
updateTimeEnd
string 
可选
更新结束时间(范围不能超过30天)
storeId
string 
店铺id
可选
status
string 
可选
订单状态(1.待审核 2.待生成包裹 3.发货中 4.已发货 5.作废 6.发货失败)
tradeId
string 
平台交易号
可选
salesOrderCode
string 
海星订单号
可选

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo01.haixingcang.com/open/order/list?page=&pageSize=&deliveryTimeBegin&deliveryTimeEnd&updateTimeBegin=&updateTimeEnd=&storeId=&status=&tradeId=&salesOrderCode='

返回响应

🟢200OK
application/json
Body
code
integer <int32>
可选
msg
string 
可选
data
object (SalesOrderListOpenVO) 
可选
orders
array[object (OrderInfo) {44}] 
订单信息
可选
total
integer <int32>
总条数
可选
page
integer <int32>
当前页
可选
pageSize
integer <int32>
每页条数
可选
trace
string 
可选
extra
object 
可选
额外字段
object 
可选
ok
boolean 
可选
示例
{
  "code": 0,
  "msg": "string",
  "data": {
    "orders": [
      {
        "id": 0,
        "salesOrderCode": "string",
        "erpOrderCode": "string",
        "outSalesOrderCode": "string",
        "status": "1",
        "deliveryStatus": "1",
        "updateTime": "2019-08-24T14:15:22Z",
        "storeId": 0,
        "warehouseId": 0,
        "createType": "1",
        "country": "string",
        "city": "string",
        "district": "string",
        "province": "string",
        "address": "string",
        "mobile": "string",
        "telephone": "string",
        "zipcode": "string",
        "contact": "string",
        "buyerId": "string",
        "buyerName": "string",
        "cusRemark": "string",
        "sellerRemark": "string",
        "currency": "string",
        "outCreateTime": "2019-08-24T14:15:22Z",
        "auditedTime": "2019-08-24T14:15:22Z",
        "auditedRemark": "string",
        "isShippedNotice": "string",
        "type": "1",
        "outSalesOrderStatus": "string",
        "sellingAmount": 0,
        "payType": "string",
        "payAmount": 0,
        "paidTime": "2019-08-24T14:15:22Z",
        "createTime": "2019-08-24T14:15:22Z",
        "countryCode": "string",
        "outPromisedShippingTime": "2019-08-24T14:15:22Z",
        "isCod": "1",
        "shipmentProvider": "string",
        "shippingFee": 0,
        "deliveryTime": "2019-08-24T14:15:22Z",
        "isSample": true,
        "packages": [
          {
            "id": 0,
            "salesOrderCode": "string",
            "dispatchOrderCode": "string",
            "outSalesOrderCode": "string",
            "payAmount": 0,
            "shippingFee": 0,
            "wmsProcessFee": 0,
            "wmsPreShippingFee": 0,
            "wmsShippingFee": 0,
            "status": "0",
            "weight": 0,
            "updateTime": "2019-08-24T14:15:22Z",
            "deliveryTime": "2019-08-24T14:15:22Z",
            "storeId": 0,
            "warehouseId": 0,
            "city": "string",
            "district": "string",
            "province": "string",
            "country": "string",
            "address": "string",
            "mobile": "string",
            "telephone": "string",
            "contact": "string",
            "noticeWmsTime": "2019-08-24T14:15:22Z",
            "wmsStatus": "1",
            "waybillPdfUrl": "string",
            "getWaybillFailReason": "string",
            "expressName": "string",
            "expressNo": "string",
            "sellingAmount": 0,
            "createTime": "2019-08-24T14:15:22Z",
            "interceptFlag": "1",
            "isNoticePlatformDelivery": "string",
            "lockInventoryStatus": "1",
            "getWaybillStatus": "1",
            "transferNumber": "string",
            "zipcode": "string",
            "salesOrderType": "1",
            "innerExpressCode": "string",
            "details": [
              {
                "id": 0,
                "skuCode": "string",
                "fnSkuCode": "string",
                "skuName": "string",
                "noticeQuantity": 0,
                "sellingPrice": 0,
                "sellingAmount": 0,
                "actualPrice": 0,
                "actualAmount": 0,
                "costPrice": 0,
                "isGift": "string",
                "lackQuantity": "string"
              }
            ],
            "itemLines": [
              {
                "id": 0,
                "outSalesOrderCode": "string",
                "salesOrderCode": "string",
                "dispatchOrderCode": "string",
                "salesOrderDetailId": 0,
                "parentSkuCode": "string",
                "skuCode": "string",
                "fnSkuCode": "string",
                "skuName": "string",
                "quantity": 0,
                "costPrice": 0,
                "actualPrice": 0,
                "actualAmount": 0,
                "sellingPrice": 0,
                "sellingAmount": 0,
                "isGift": "string"
              }
            ]
          }
        ],
        "details": [
          {
            "id": 0,
            "skuCode": "string",
            "skuName": "string",
            "outSkuCode": "string",
            "outSkuName": "string",
            "outModelName": "string",
            "quantity": 0,
            "costPrice": 0,
            "sellingPrice": 0,
            "actualPrice": 0,
            "isGift": "string",
            "outDetailId": "string",
            "outSellerSkuCode": "string",
            "outSpuCode": "string",
            "skuPic": "string",
            "outSkuPic": "string"
          }
        ]
      }
    ],
    "total": 0,
    "page": 0,
    "pageSize": 0
  },
  "trace": "string",
  "extra": {
    "property1": {},
    "property2": {}
  },
  "ok": true
}
🟠400Bad Request
🟠403Forbidden
🔴500Internal Server Error
修改于 2025-04-16 05:53:12
上一页
订单新增
下一页
订单详情
Built with