cURL
curl --request POST \ --url https://commerce.driv.ly/api/templates \ --header 'Content-Type: application/json' \ --data ' { "type": "<string>", "messageText": "<string>", "id": "<string>", "subject": "<string>" } '
{ "data": { "id": "<string>", "type": "<string>", "messageText": "<string>", "subject": "<string>" }, "success": true }
Documentation IndexFetch the complete documentation index at: https://docs.driv.ly/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.driv.ly/llms.txt
Use this file to discover all available pages before exploring further.
The number of levels of related objects to include in the response
Template has Template Type
Template has Message Text
Template is uniquely identified by id
Template has Subject
Template Created
Show child attributes
{ "id": "tmp_39fjkd93nmd0", "type": "Email", "subject": "Invoice Details", "messageText": "Hello, please find your invoice attached."}