取消关联订单信息
取消商家券与订单信息的关联关系
请求参数 | 类型 | 描述 |
---|---|---|
json | object | 声明请求的JSON 数据结构 |
stock_id | string | 批次号 |
coupon_code | string | 券code |
out_trade_no | string | 关联的商户订单号 |
out_request_no | string | 商户请求单号 |
php
$instance->v3->marketing->busifavor->coupons->disassociate->postAsync([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/busifavor/coupons/disassociate')->postAsync([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/busifavor/coupons/disassociate']->postAsync([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->busifavor->coupons->disassociate->post([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/busifavor/coupons/disassociate')->post([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/busifavor/coupons/disassociate']->post([
'json' => [
'stock_id' => '',
'coupon_code' => '',
'out_trade_no' => '',
'out_request_no' => '',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
wechatpay_disassociate_time | string | 取消关联成功时间 |
参阅 官方文档