轻易云
注册体验

领星ERP查询STA任务列表接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
FBA / FBA货件(STA) · POST · 请求参数 11 个(必填 5) · 响应参数 35 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询STA任务列表

POST/amzStaServer/openapi/inbound-plan/page
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/amzStaServer/openapi/inbound-plan/page"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-plan/page?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"page\": 1,\n    \"length\": 10,\n    \"dateBegin\": \"2022-10-23\",\n    \"dateEnd\": \"2022-11-21\",\n    \"dateType\": 2,\n    \"planName\": \"STA任务名称(模糊搜索)\",\n    \"shipmentIdList\": [\"\"],\n    \"sids\": [1],\n    \"statusList\": [\"ERRORED\"]\n}'",
  "responseExample": {
    "code": 0,
    "message": "操作成功",
    "errorDetails": null,
    "requestId": "9810aa54fb474e89b291670773d641a5.1733217084822",
    "responseTime": "2024-12-03T17:11:24.822",
    "data": {
      "records": [
        {
          "inboundPlanId": "wf6d737569-f340-47d9-91cc-9936bf6211d7",
          "planName": "查询货件装箱详情",
          "gmtCreate": "2024-11-30 16:11",
          "gmtModified": "2024-11-30 16:13",
          "status": "ACTIVE",
          "shipmentList": [
            {
              "shipmentId": "sh689b63df-a66e-417b-8e6b-467a455f2cfd",
              "shipmentConfirmationId": "FBA18MKW1NY9"
            },
            {
              "shipmentId": "shfb3190bd-b2d1-47f9-9988-5fbe466780a5",
              "shipmentConfirmationId": "FBA18ML13MY3"
            }
          ],
          "inboundPlanItemList": [
            {
              "msku": "CN0002",
              "fnsku": "X00489S3FJ",
              "asin": "B0D3F2W56C",
              "parentAsin": "B0D3F2W56C",
              "productName": "随便spu-3",
              "sku": "asdkpasdk",
              "title": "Notes,Creative Cartoon,Students,Can Post It,Can Tear Messages N Times Paste",
              "url": "https://m.media-amazon.com/images/I/51YvC-1dvXL._SL75_.jpg",
              "quantity": 6
            },
            {
              "msku": "20240122-GM",
              "fnsku": "X0047Z5K5Z",
              "asin": "B0CM59V6Y8",
              "parentAsin": "B0CPSY8HFP",
              "productName": "饭饭饭",
              "sku": "ggggasda",
              "title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky-GM",
              "url": "https://m.media-amazon.com/images/I/61-v2WaQOhL._SL75_.jpg",
              "quantity": 4
            },
            {
              "msku": "STN0002",
              "fnsku": "X00489S34P",
              "asin": "B0D3F37ZPB",
              "parentAsin": "B0D3F37ZPB",
              "productName": "成本",
              "sku": "117009ZZ",
              "title": "Note Grid, Note Paper, Minimalist and Creative, Cute Note Book, Non Sticky",
              "url": "https://m.media-amazon.com/images/I/61FW9bR5rKL._SL75_.jpg",
              "quantity": 5
            }
          ]
        }
      ],
      "total": 1,
      "size": 10,
      "current": 1,
      "orders": [],
      "optimizeCountSql": true,
      "searchCount": true,
      "countId": null,
      "maxLimit": null,
      "pages": 1
    }
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1page分页页码integer—必填分页页码
2length分页大小integer—必填分页大小,上限200
3dateBegin开始时间(北京时间)string—必填开始时间(北京时间) 备注:格式:YYYY-MM-DD 双闭区间
4dateEnd结束时间(北京时间)string—必填结束时间(北京时间) 备注:格式:YYYY-MM-DD 双闭区间
5dateType时间类型 1integer—必填时间类型 1:创建 2更新
6planNameSTA任务名称(模糊搜索)string—可选STA任务名称(模糊搜索)
7shipmentIdList货件id或者货件单号(精确搜索)array<any>—可选货件id或者货件单号(精确搜索)
8sids领星店铺ID 列表array<any>—可选领星店铺ID 列表,对应查询亚马逊店铺列表
9sortFieldsortFieldstring—可选
10sortTypesortTypestring—可选
11statusListSTA任务状态array<any>—可选STA任务状态: ACTIVE VOIDED SHIPPED ERRORED

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3errorDetails错误信息array<any>—必填错误信息
4requestId请求链路idstring—必填请求链路id
5responseTime响应时间string2020-05-18 11:23:47必填响应时间
6data响应数据object—必填响应数据
6.1current当前页integer—必填当前页
6.2orders排序array<object>—可选排序
6.2.1asc是否升序排列boolean—可选是否升序排列
6.2.2column排序列string—可选排序列
6.3pages页数integer—可选页数
6.4records记录行array<object>—必填记录行
6.4.1gmtCreate创建时间string—必填创建时间
6.4.2gmtModified更新时间string—必填更新时间
6.4.3inboundPlanIdSTA任务编号string—必填STA任务编号
6.4.4inboundPlanItemList商品信息array<object>—必填商品信息
6.4.4.1asinasinstring—必填asin
6.4.4.2fnskufnskustring—必填fnsku
6.4.4.3mskumskustring—必填msku
6.4.4.4parentAsin父asinstring—必填父asin
6.4.4.5productName品名string—必填品名
6.4.4.6quantity申报量integer—必填申报量
6.4.4.7skuskustring—必填sku
6.4.4.8title标题string—必填标题
6.4.4.9url图片urlstring—必填图片url
6.4.5planNameSTA任务名称string—必填STA任务名称
6.4.6shipmentList货件信息array<object>—必填货件信息
6.4.6.1shipmentId货件idstring—必填货件id
6.4.6.2shipmentConfirmationId货件单号string—必填货件单号
6.4.7statusSTA任务状态string—必填STA任务状态
6.4.8position_type分仓方式integer1必填分仓方式,1-先装箱再分仓,2-先分仓再装箱
6.4.9planCreateTime计划创建时间string1必填计划创建时间
6.4.10planUpdateTime计划更新时间string1必填计划更新时间
6.5searchCountsearchCountboolean—必填
6.6total总记录数integer—必填总记录数

领星ERP的接口:查询STA任务列表(/amzStaServer/openapi/inbound-plan/page),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。