Quick start
A key, one request, and today's list. About five minutes.
Make a key
In Refillo, open Settings, then Integrations, then API. Turn it on and create a key. A test key on a demo shop reads and acts on that shop and never emails a supplier. A live key is shown once.
Ask what needs you
Send the key as a bearer token. The list is the same one on Today, in the same order.
curl -sS https://app.refilloapp.com/api/v1/needs-you \ -H "Authorization: Bearer $REFILLO_API_KEY"
Read a proposal
Approved proposals are what Refillo would order. Create the order in your system, then send it back with the same refillo_po_id so the quantity is not counted twice.
curl -sS "https://app.refilloapp.com/api/v1/proposals?limit=20" \ -H "Authorization: Bearer $REFILLO_API_KEY"