微信模板消息
POST
https://qiyukf.com/openapi/settings/wxTemplates
{{first.DATA}}
订单编号:{{keyword1.DATA}}
取件公司:{{keyword2.DATA}}
{{remark.DATA}}
{
"appId": "wxcxxxxxxx",
"logistic": {
"template_id":"s8BlawhJMXO4YWEvvsrBiBrxuBJzYwpk-HchuAa9jbc",
"top":"first",
"bottom":"remark",
"id": "keyword1",
"name":"keyword2"
}
}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qiyukf.com/openapi/settings/wxTemplates?appKey=&time=&checksum=' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId":"wxcxxxxxxxxx",
"logistic": {
"template_id":"s8BlawhJMXO4YWEvvsrBiBrxuBJzYwpk-HchuAa9jbc",
"top":"first",
"bottom":"remark",
"id": "keyword1",
"name":"keyword2",
"last_state": "keyword3",
"update_time": "keyword4",
"sender":"keyword5",
"sender_site":"keyword6",
"sender_phone":"keyword7",
"receiver":"keyword8",
"receiver_site":"keyword9",
"receiver_phone":"keyword10",
"order_id":"keyword11",
"order_time":"keyword12",
"price":"keyword13",
"status":"keyword14",
"good_name":"keyword15"
}
}'
响应示例响应示例
{}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
time
string
必需
默认值:
{{time}}
checksum
string
必需
默认值:
{{checksum}}
Body 参数application/json