Templates

All endpoints require authentication.

GET /templates

Get a list of templates.

[
    {
        "id": 7,
        "name": "Main layout",
        "alias": "main-layout",
        "html_body": "...",
        "text_body": "...",
        "json_body": "[]",
        "created_at": "2019-08-18T15:43:12.315536+03:00",
        "updated_at": "2019-08-18T16:14:21.613363+03:00",
        "deleted_at": null
    },
    {
        "id": 6,
        "name": "Wishlist product",
        "alias": "wishlist-product",
        "html_body": "...",
        "text_body": "...",
        "json_body": "[]",
        "created_at": "2019-08-09T21:19:32.864838+03:00",
        "updated_at": "2019-08-18T15:51:02.07902+03:00",
        "deleted_at": null
    },
]