文档中心 > API类目 > 银泰开放平台

alibaba.mos.goods.open.price.plan.query (查询价格排期)

查询价格排期

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_price_plan_req QueryPricePlanReq 必须 查询价格排期
  • outer_id_with_counter_list
  • OuterIdWithCounterDTO []
  • 必须
  • { "outer_id_with_counter_list": [ { "outer_id": "202107070021m", "mall_no_shop_no_list": ["MJ01-81676","MJ01-222"] }, { "outer_id": "201911220009", "mall_no_shop_no_list": ["MJ01-81676"] } ] }
  • 示例:{ "outer_id_with_counter_list": [ { "outer_id": "202107070021m", "mall_no_shop_no_list": ["MJ01-81676","MJ01-222"] }, { "outer_id": "201911220009", "mall_no_shop_no_list": ["MJ01-81676"] } ] }
  • └ outer_id
  • String
  • 必须
  • 202107070021m
  • outer_id
  • └ mall_no_shop_no_list
  • String []
  • 必须
  • ["MJ01-81676"]
  • 示例["MJ01-81676","MJ01-222"]

响应参数

名称 类型 示例值 描述
data Json key是skuId,value是排期价格list
biz_msg String msg msg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMosGoodsOpenPricePlanQueryRequest req = new AlibabaMosGoodsOpenPricePlanQueryRequest();
AlibabaMosGoodsOpenPricePlanQueryRequest.QueryPricePlanReq obj1 = new AlibabaMosGoodsOpenPricePlanQueryRequest.QueryPricePlanReq();
List<AlibabaMosGoodsOpenPricePlanQueryRequest.OuterIdWithCounterDTO> list3 = new ArrayList<AlibabaMosGoodsOpenPricePlanQueryRequest.OuterIdWithCounterDTO>();
AlibabaMosGoodsOpenPricePlanQueryRequest.OuterIdWithCounterDTO obj4 = new AlibabaMosGoodsOpenPricePlanQueryRequest.OuterIdWithCounterDTO();
list3.add(obj4);
obj4.setOuterId("202107070021m");
obj4.setMallNoShopNoList(""MJ01-81676"");
obj1.setOuterIdWithCounterList(list3);
req.setQueryPricePlanReq(obj1);
AlibabaMosGoodsOpenPricePlanQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mos_goods_open_price_plan_query_response>
    <biz_msg>msg</biz_msg>
</alibaba_mos_goods_open_price_plan_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部