- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
创建推广计划
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/marketing/delivery
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/marketing/delivery' \
--header 'authorization: ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign' \
--header 'alipay-request-id: $requestid' \
--header 'Content-Type: application/json' \
--data-raw '{
"delivery_booth_code":"PREFER_CHANNEL",
"out_biz_no":"20170101000001654bb46ba",
"delivery_base_info":{
"delivery_name":"商品名称0706推广",
"delivery_begin_time":"2017-01-01 00:00:01",
"delivery_end_time":"2017-01-10 00:00:01"
},
"delivery_play_config":{
"delivery_single_send_config":{
"delivery_content_info":{
"delivery_content_type":"APP_ITEM",
"delivery_item_content":{
"item_id":"2023062022000400598672",
"item_type":"PHYSICAL"
}
}
}
},
"merchant_access_mode":"SELF_MODE"
}'
响应示例响应示例
{
"delivery_id": "20121231231242353"
}
请求参数
Header 参数
authorization
string
必需
示例值:
ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign
alipay-request-id
string
必需
示例值:
$requestid
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
delivery_booth_code
string
必需
out_biz_no
string
必需
delivery_base_info
object
推广计划基础信息。
delivery_name
string
必需
delivery_begin_time
string
必需
delivery_end_time
string
必需
delivery_play_config
object
必需
delivery_single_send_config
object
可选
delivery_full_send_config
object
可选
merchant_access_mode
string
必需
示例
返回响应
🟢200成功
application/json
Body
delivery_id
string
推广计划id。