post https://api.etrusted.com/questionnaire-links
Each questionnaire link points to a specific rendered questionnaire. The link will expire after a set amount of time.
Sample request payload in JSON (Click to view)
{
"type": "sales",
"questionnaireTemplate": {
"id": "tpl-qst-12261ad3-d36b-4a3a-a4ab-850920d7b11f"
},
"customer": {
"id": "cst-xxxxxxxx-yyyy-xxxx-yyyy-xxxxxxxxxxxx",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"mobile": "+49123456789",
"address": "Anystr. 17, 12345"
},
"channel": {
"id": "example_unique_identifier",
"type": "etrusted"
},
"transaction": {
"reference": "order-12345",
"date": "2017-01-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/"
}
],
"metadata": {
"metaKey1": "metaValue1",
"metaKey2": "metaValue2"
},
"system": "customer_system_name",
"systemVersion": "1.0"
}