开始使用Adobe Target Delivery API
Target Delivery API调用如下所示:
curl -X POST \
'https://`clientCode`.tt.omtrdc.net/rest/v1/delivery?client=`clientCode`&sessionId=d359234570e04f14e1faeeba02d6ab9914e' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"context": {
"channel": "web",
"browser" : {
"host" : "demo"
},
"address" : {
"url" : "http://demo.dev.tt-demo.com/demo/store/index.html"
},
"screen" : {
"width" : 1200,
"height": 1400
}
},
"execute": {
"mboxes" : [
{
"name" : "homepage",
"index" : 1
}
]
}
}'
通过导航到 Administration > Implementation,可以从Target UI检索clientCode
。
在进行Target Delivery API调用之前,请按照以下步骤操作,以确保响应包含向最终用户显示的相关体验:
recommendation-more-help
6906415f-169c-422b-89d3-7118e147c4e3