您所在位置: 首页 > > gome.order.refunds.get
  •  gome.order.refunds.get退款信息查询(已废弃)

    • 系统级输入参数
    • 应用级输入参数
    • 请求示例
    • 返回结果参数
    • 返回示例
    • API工具
    • 名称 类型 必须 描述
      $app String 应用的app_key
      $method String API接口名称
      $sign String 签名
      $token String 采用OAuth授权方式为必填参数
      $v String API协议版本,可选值:1.0.0
    • 名称 类型 必须 示例值 描述
      orderReturnId String 2569641039 退/换货单号
      associatedOrderId String 2569641039 原配送单号
      refundStatus String _ 退款状态:财务审核中: PENDING_FINANCE_ACTION, 退款中: PROCESSING_REFUND, 审核失败: AUDIT_FAILED, 退款失败: FAILED, 退款完成: COMPLETE
      createDateStart Date 2017-10-18 申请日期-起始
      createDateEnd Date 2017-09-18 申请日期-截至
      pageSize Integer 10 每页包含结果数
      pageNo Integer 1 页码
    • Java


      GmosClient client = new DefaultGmosClient(url, appKey, secret);
      GomeOrderRefundsGetRequest request = new GomeOrderRefundsGetRequest();
        //详细参数信息请参考API详情页面。
        request.setOrderReturnId("2569641039");
        request.setAssociatedOrderId("2569641039");
        request.setRefundStatus("_");
        request.setCreateDateStart("2017-10-18");
        request.setCreateDateEnd("2017-09-18");
        request.setPageSize(10);
        request.setPageNo(1);
      GomeOrderRefundsGetResponse response = client.execute(request);
      System.out.println(response.getBody());


      PHP


      $client = new GmosClient;
        $client -> appkey = $appkey;
        $client -> secretKey = $secret;
        $request = new GomeOrderRefundsGetRequest;
        //详细参数信息请参考API详情页面。
        $request -> setOrderReturnId("2569641039");
        $request -> setAssociatedOrderId("2569641039");
        $request -> setRefundStatus("_");
        $request -> setCreateDateStart("2017-10-18");
        $request -> setCreateDateEnd("2017-09-18");
        $request -> setPageSize(10);
        $request -> setPageNo(1);
      $response = $client -> execute($request);
      


      Python


      #详细参数信息请参考API详情页面。
      request = new GomeOrderRefundsGetRequest(url, port, "2569641039", "2569641039", "_", "2017-10-18", "2017-09-18", 10, 1)
      try:
        response = request.getResponse()
        print(response)
      except Exception, e:
        print(e)