Skip to content

Retrieve the sending history

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

GET/back_in_stock/sending_history

Costs 1 rate-limit point · Rate limits

List back-in-stock sends, newest first: each restock or manual send working through a variant's waitlist, with its progress (the dashboard's Bulk requests page).

source is webhook (automatic restock alert), bulk_send (sent from the dashboard or API), bulk_resend, flow_action, events_inventory, events_products or reconciliation. status is active, waiting (between batches) or completed. sent_count of signups_count is the progress. source narrows to sends whose source contains it, as the page's source search. shopify_variant_id / shopify_product_id (gids) narrow to that variant's or product's sends; status=incomplete (active or waiting) with one of them answers whether a send is still running, as the waitlist page's banner shows.

Also searched assending historybulk requestsbulk sendssend jobsrestock sendsis the send finishednotification send progress

Query parameters

  • statusstring
    One of incompleteactivewaitingcompleted
  • sourcestring
  • shopify_variant_idstring
  • shopify_product_idstring
  • 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/sending_history
curl "https://app.stoqapp.com/api/v2/external/back_in_stock/sending_history" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body