Get an email template
One email: what it is, its variables and parts (each a name and what it is), the marks it must hold (required), its original HTML, what the store has saved, shared (the CSS every email gets) and baseCss, Shoply’s look for the classes the originals are written with. Each of html, css and subject is the store’s own, or null where it is Shoply’s original. The HTML is the email’s card and the lines under it, with Liquid’s marks for what changes from one buyer to the next: {{ order.id }} prints a value, escaped, and {{ parts.delivery }} a part only Shoply writes. variables and parts say which an email has. Shoply writes the page round it, its dark look, and a last line under it, “Sent with Shoply”, which no template changes. originalSubject is the original subject as a sample buyer would get it, and originalSubjectSource the same written with its variables.
Needs the emails.read permission (Read Email Templates).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Which email: receipt, invoice, reward, panel-code, balance-code, site-code, ticket-reply, sub-renewal, sub-charged, sub-due, sub-declined, sub-paused, sub-ended, recovery-first, recovery-declined, recovery-second, winback-first, winback-second.

