Skip to content

商圈会员待积分状态查询 ​

通过此API,商圈商户/服务商可以自行查询已授权“商圈会员积分服务”的会员用户当日在该商圈的待积分状态。

请求参数类型描述
openidstring顾客openid
queryobject声明请求的查询参数
sub_mchidstring商圈商户ID
brandidinteger品牌ID
appidstring应用ID
php
$instance->v3->businesscircle->users->_openid_->points->commit_status->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/businesscircle/users/{openid}/points/commit_status')->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/businesscircle/users/{openid}/points/commit_status']->getAsync([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->businesscircle->users->_openid_->points->commit_status->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/businesscircle/users/{openid}/points/commit_status')->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/businesscircle/users/{openid}/points/commit_status']->get([
  'openid' => 'oUpF8uMuAJOM2pxb1Q',
  'query' => [
    'sub_mchid' => '1900000109',
    'brandid'   => 1000,
    'appid'     => 'wx931386123456789e',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
points_commit_statusstring商圈会员待积分状态
PENDING | FINISHED 枚举值之一

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory