Skip to content

下载核销明细

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

请求参数类型描述
stock_idstring批次号
php
$instance->v3->multiuse->stocks->_stock_id_->useFlow->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}/use-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}/use-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_->useFlow->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/multiuse/stocks/{stock_id}/use-flow')->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/multiuse/stocks/{stock_id}/use-flow']->get([
  'stock_id' => '9856888',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
urlstring下载链接

参阅 官方文档

Published on the GitHub by TheNorthMemory