文档地址:
https://ad.weixin.qq.com/main.html#/docs/233
curl -k 'https://api.weixin.qq.com/marketing/user_actions/add?version=v1.0&access_token=<ACCESS_TOKEN>"
-
d '{
"user_action_set_id": "<USER_ACTION_SET_ID>",
"actions":[
{
"url":"<URL>",
"action_time":1513077790,
"action_type":"PURCHASE",
"user_id":{
"wechat_app_id":"<WECHAT_APP_ID>",
"wechat_openid":"<WECHAT_OPEN_ID>"
},
"action_param":{
"claim_type":0,
"source":"Web",
"value": <purchase_value>
}
}
]
}'
-H "Content-Type:application/json"
报了这个错误,请问是什么情况
{"errcode":900351002,"errmsg":"payloads: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 13 path $.actions"}
https://developers.e.qq.com/
右下角点击反馈中心反馈下,看起来是请求写的不对