Skip to content

List templates

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/preorders/templates

Costs 1 rate-limit point · Rate limits

List every preorder notification's copy, in send order: confirmation (email and SMS), shipping_update (email) and payment_failed (email). ?locale= picks the language (omit it for the shop default). Whose account sends is GET /account/sending.

Each entry is the GET /preorders/templates/:key body. The confirmation is left out when the shop has no preorder template.

Also searched asget preorder notification settingsshow preorder notificationspreorder email settingslist preorder templatespreorder notification copy

Query parameters

  • localestring

Errors

401

Missing or invalid X-Auth-Token.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/preorders/templates
curl "https://app.stoqapp.com/api/v2/external/preorders/templates" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body