Skip to content

下载批次退款明细

可获取到某批次的退款明细数据,包括订单号、单品信息、银行流水号等,用于对账/数据分析。

请求参数类型描述
stock_idstring批次号
php
$instance->v3->multiuse->stocks->_stock_id_->refundFlow->getAsync([
  'stock_id' => '9856888',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/multiuse/stocks/{stock_id}/refund-flow')->getAsync([
  'stock_id' => '9856888',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/multiuse/stocks/{stock_id}/refund-flow']->getAsync([
  'stock_id' => '9856888',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->multiuse->stocks->_stock_id_->refundFlow->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/multiuse/stocks/{stock_id}/refund-flow')->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/multiuse/stocks/{stock_id}/refund-flow']->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
urlstring下载链接

参阅 官方文档

Published on the GitHub by TheNorthMemory