Skip to main content
Required scopes: marketing_templates_read Store must have one of: EMAIL_SMS, HSA, ORDER_TRACKING, RETURNS, TNPL, REVIEWS

Arguments

String
Forward pagination cursor — returns saved templates after it.
String
Backward pagination cursor — returns saved templates before it.
Int
Forward pagination: returns the first N saved templates (max 100, default 25). Use with after; mutually exclusive with last/before.
Int
Backward pagination: returns the last N saved templates (max 100, default 25). Use with before; mutually exclusive with first/after.
Which key to sort by (defaults to the first key, newest-first). Combine with reverse to flip direction.
Boolean
Reverses the sort direction selected by orderBy (or its default).
Only templates added this way. Omit or leave empty for every source.

Returns

A paginated list of SavedEmailTemplate items.

Example