Skip to content

Retrieve fulfillments

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

GET/preorders/reports/fulfillments

Costs 1 rate-limit point · Rate limits

What is still owed to preorder customers: units sold, cancelled, fulfilled and outstanding (waiting, on hold, scheduled) per variant or product, as the dashboard's fulfillment table.

Units, not orders. cancelled counts every unit on a cancelled order plus units refunded or split off from an open order. sold = cancelled + fulfilled + outstanding, and outstanding = waiting + on_hold + scheduled. Statuses are as of now; the window selects when the units were sold. range=all_time is the dashboard's All time. image_url is the variant's stored image, else the product's (null if none is stored).

Also searched asfulfillment reportwhat do I still oweoutstanding preordersunfulfilled preorder unitspreorders left to ship

Query parameters

  • rangestring
  • group_bystring
    One of variantproduct
  • fromstring
  • tostring
  • sort_bystring
  • directionstring
  • 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/preorders/reports/fulfillments
curl "https://app.stoqapp.com/api/v2/external/preorders/reports/fulfillments" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body