開始使用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