Skip to content

Commit

Permalink
docs: Add generation field to create template call otherwise legacy t…
Browse files Browse the repository at this point in the history
…emplate will be created (#907)
  • Loading branch information
vinu-phoenix authored Jun 24, 2020
1 parent 865f09d commit 4c3962e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4653,6 +4653,7 @@ Transactional templates are templates explicitly created for transactional email
request.body = data;
request.method = 'POST';
request.url = '/v3/templates';
request.generation = 'dynamic'
client.request(request)
.then(([response, body]) => {
console.log(response.statusCode);
Expand Down

0 comments on commit 4c3962e

Please sign in to comment.