您的位置 : 文档中心 -> API信息

com.alibaba.product:alibaba.product.getByStatus-1
根据状态查询商品 免费

根据状态查询商品(开放平台自建API)

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
pageNo java.lang.Integer 分页页码 1
pageSize java.lang.Integer 分页每页数量 20
statusList String[] "member expired"(会员撤销), "auto expired"(自然过期), "expired"(过期(包含手动过期与自动过期)), "member deleted"(会员删除), "published"(上网状态), "modified"(修改), "new"(新发), "deleted"(删除), "TBD"(to be delete), "approved"(审批通过), "auditing"(审核中), "untread"(审核不通过) ["member expired","auto expired"]

返回结果

名称 类型 是否必须 描述 示例值
+ result alibaba.ocean.openplatform.biz.product.result.ProductInfoListResult 查询结果 {}
errorCode java.lang.String 错误码
errorMessage java.lang.String 错误信息

返回结果

出参示例

  {"result":{"pageResult":{"pageIndex":1,"resultList":[{"expireTime":"20280724150715000+0800","createTime":"20180711092921000+0800","categoryID":1036500,"lastUpdateTime":"20180727152114000+0800","subject":"雨发给ad不在《湍流燃烧概率密度函数方法》季这好g更与","productID":573474258571,"productType":"wholesale","referencePrice":"138.0","qualityLevel":5,"description":"《湍流燃烧概率密度函数方法》","userId":1623492085,"lastRepostTime":"20180727080226000+0800","approvedTime":"20180727150715000+0800","modifyTime":"20180727152114000+0800","saleInfo":{"consignPrice":138.0,"priceRanges":[{"price":138.0,"startQuantity":1}],"mixWholeSale":false,"priceAuth":false,"unit":"套","quoteType":0,"saleType":"normal","supportOnlineTrade":true,"amountOnSale":88989.0,"minOrderQuantity":1},"status":"published","image":{"images":["img/ibank/2018/067/039/9061930760_1606139362.jpg"]},"shippingInfo":{"sendGoodsAddressId":14254359,"freightTemplateID":11167193,"sendGoodsAddressText":"上海 上海"},"extendInfos":[{"value":"false","key":"isSupportStepPay"},{"value":"false","key":"isSupportMix"},{"value":"true","key":"isAlipaySupported"}],"pictureAuth":false,"periodOfValidity":3650,"bizType":5,"attributes":[{"attributeName":"培训方式","value":"线上","attributeID":100018033,"isCustom":false}],"language":"CHINESE"}],"sizePerPage":1,"totalRecords":74}}} 

API工具

SDK 示例