Skip to content

List notification settings

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

GET/preorders/notification_settings

Costs 1 rate-limit point · Rate limits

List the preorder notifications' switches. Only the confirmation has any: whether its email and SMS send, and whether customers may cancel from it. shipping_update and payment_failed always send once their trigger happens. sending_paused, present only when STOQ blocks a channel for the shop, says those notifications will not go out on it.

Each entry is the GET /preorders/notification_settings/:key body. Copy is GET /preorders/templates/:key.

Also searched aspreorder notification channelsis the preorder confirmation email onpreorder notification settings

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/notification_settings
curl "https://app.stoqapp.com/api/v2/external/preorders/notification_settings" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body