01 / LIVE API
Generate a merchant-backed code
Resolve Brooklinen, request an offer, and inspect its origin and terms.
OpenStock / Integration recipes
Six small integrations that show what each response means. Complete requests, full example responses, and the fields to inspect.
01 / LIVE API
Resolve Brooklinen, request an offer, and inspect its origin and terms.
02 / LIVE API
See two offer sources side by side in a single batch.
03 / LIVE API
Distinguish merchant delivery data from a network default.
04 / SYNTHETIC HISTORY
Explore a clearly labelled synthetic shopper with both interaction types.
05 / LIVE API
Tell an unknown merchant apart from a store with no qualifying code.
06 / LIVE API
Run one request, then reuse its idempotency key and compare the code.
Set OPENSTOCK_API_KEY in your environment. Copy a request from a recipe and replace the example idempotency key with your own session key. The live demo uses its server-side credential; you can try it without entering yours.
Response examples are illustrative unless labelled as a synthetic fixture. They preserve the API envelope but do not represent current availability, measured performance or checkout verification. Example codes cannot be redeemed; example links omit live attribution. Use the URLs returned by your real request.
All recipes and examples are readable without JavaScript. Live execution is available in the demo.