post https://api.etrusted.com/invites
This endpoint allows for the scheduling of new review invites into
eTrusted system.
NB: In compliance with GDPR, customers should be given the option to opt-in to receive review invitations from you. Therefore, schedule invites using data of only customers who have opted-in.
Sample request payload in JSON (Click to view)
{
"channel": {
"id": "chl-f8c8c9c3-93ff-48dd-1111-629196b5955a",
"type": "user_defined"
},
"system": "Magento",
"systemVersion": "1.0.0",
"invites": [
{
"questionnaireTemplate": {
"id": "tpl-qst-12261ad3-d36b-4a3a-a4ab-850920d7b11f"
},
"template": {
"id": "tpl-inv-12261ad3-d36b-4a3a-a4ab-850920d7b11f"
},
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]"
},
"locale": "de_DE",
"transaction": {
"reference": "ORDER-121416990",
"date": "2017-11-01T13:30:15Z"
},
"products": [
{
"gtin": "1234567890123",
"imageUrl": "https://www.specialbrandshop.com/article123-TS-WH-M/image.jpg",
"name": "Specialbrand T-Shirt White M",
"mpn": "23687778",
"sku": "1234-TS-WH-M",
"brand": "specialbrand",
"url": "https://www.specialbrandshop.com/article123-TS-WH-M/"
}
],
"preferredSendTime": "2018-02-01T17:09:41.79Z",
"metadata": {
"carModel": "Touareg",
"carColor": "silver"
}
}
]
}