文档中心 > API类目 > 五道口API

alibaba.price.promotion.activity.query (查询盒马帮档期活动详情)

查询盒马帮档期活动详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
outer_promotion_code String 必须 1818 外部档期code
ou_code String 可选 1010 TOB店仓编码
page Number 必须 0 页码
page_size Number 必须 100 页码大小

响应参数

名称 类型 示例值 描述
data Json {"skuCode":123} 大润发促销档期数据
result_code Number -1 错误编码
total_record Number 12 大润发档期数据
message String 查询参数错误 错误参数
is_success Boolean true 接口调用是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPricePromotionActivityQueryRequest req = new AlibabaPricePromotionActivityQueryRequest();
req.setOuterPromotionCode("1818");
req.setOuCode("1010");
req.setPage(0L);
req.setPageSize(100L);
AlibabaPricePromotionActivityQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_price_promotion_activity_query_response>
    <data>{&quot;skuCode&quot;:123}</data>
    <result_code>-1</result_code>
    <total_record>12</total_record>
    <message>查询参数错误</message>
    <is_success>true</is_success>
</alibaba_price_promotion_activity_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

返回
顶部