Skip to content

List translations for a template

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

GET/account/templates/{campaign_type}/translations

Costs 1 rate-limit point · Rate limits

Read every translation override on the preorder confirmation template, plus the full enumeration of translatable field paths, each field's default-locale source text, and every locale the shop has actually published. campaign_type is "preorder"; back-in-stock notifications are GET /back_in_stock/templates/:key/translations.

Also searched asget notification translationstemplate translationsemail translationssms translations

Path parameters

  • campaign_typestringRequired

Query parameters

  • positionstring

Errors

401

Missing or invalid X-Auth-Token.

404

The resource does not exist for this shop, or the action path is not registered.

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/account/templates/{campaign_type}/translations
curl "https://app.stoqapp.com/api/v2/external/account/templates/{campaign_type}/translations" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body