Skip to content

查询小店活动门店详情

该接口为服务商或商户给零售小店活动查询门店详情专用接口。 使用对象:品牌的品牌主商户号或品牌服务商。

请求参数类型描述
brand_idstring品牌ID
store_codestring门店编码
php
$instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_brand_id_->stores->_store_code_->getAsync([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}')->getAsync([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}']->getAsync([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->goodsSubsidyActivity->retailStoreAct->_brand_id_->stores->_store_code_->get([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}')->get([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/goods-subsidy-activity/retail-store-act/{brand_id}/stores/{store_code}']->get([
  'brand_id' => '1001',
  'store_code' => 'abc_001',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
store_codestring门店编码
store_namestring门店名称

参阅 官方文档

Published on the GitHub by TheNorthMemory