Skip to content

Find offer lookup

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

GET/preorders/offer_lookup

Costs 1 rate-limit point · Rate limits

Resolve one preorder offer from an exact id or a fuzzy name match. Returns the full offer (same shape as GET /preorders/offers/:id) on a unique match. If name matches more than one offer, returns {ambiguous: true, candidates: [...]} instead of guessing -- re-call with the chosen id. Omit both id and name for the most recently created offer.

Also searched asfind offerresolve offerlook up offer by namewhich offerthe offer

Query parameters

  • idstring
  • namestring

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