Spree Admin SDK
Publish an email template draft
Makes the draft what customers receive. The draft is first rendered with sample data; one that does not render (for the layout or a partial: in any email using it) is refused with 422, listing each problem with its email and line.
Required scope: write_email_templates (for API-key authentication).
POST
Spree Admin SDK
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
The template key with dots
Body
application/json
Response
draft published
Available options:
email, layout, partial 
