Skip to content

Retrieve pages

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

GET/preorders/settings/pages

Costs 1 rate-limit point · Rate limits

The Preorder pages settings (Preorders > Settings > Pages): whether the Preorder button shows on the home, collection and search pages, and whether collection pages show the preorder badge when any variant is a preorder. Shop-wide, not per offer. Product pages always show the button. The locations and markets these pages count stock at are GET /account/markets; the page's CSS selectors are GET /preorders/settings/developer.

Also searched aspreorder pagespreorder on collection pagepreorder on home pagepreorder on search pagepreorder button on other pagescollection page badge

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