Skip to content

List customers

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

GET/back_in_stock/customers

Costs 1 rate-limit point · Rate limits

List the shop's customers (everyone who signed up for an alert or placed a preorder), newest first, as the Reports page's Customers tab does.

query matches part of the customer's email or phone, like the tab's search. unsubscribed_at is set when the customer is unsubscribed from back-in-stock notifications. accepts_marketing is the marketing consent they gave.

Also searched aslist customerscustomers tabback in stock customerswho signed upsearch customersunsubscribed customers

Query parameters

  • querystring
  • pagestring
  • per_pagestring

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