The problem with the built-in export
If you have ever tried to back up your purchase orders from the Stocky interface, you have hit the wall: exports run one PO at a time, usually as an emailed CSV attachment, and the bulk "Export All" view leaves the line items behind. For a shop with hundreds or thousands of POs, doing this by hand is not realistic — and the receiving history, costs and SKUs are exactly what you need to reconstruct your buying in a new app.
What the API exposes instead
Stocky's documented read-only v2 API returns purchase orders with their full purchase_items array. For each PO you get the header and every line item:
- PO header: id, supplier id and name, status, payment status, currency, Shopify location id, created / updated / confirmed timestamps.
- Each line item: SKU, variant, inventory item id, quantity, retail price, cost price, supplier cost, and the received-at timestamp.
That is the data that lets a replacement app show you real cost history and vendor spend — not just an empty PO shell.
How the exporter structures it
The ZIP splits purchase orders across two clean CSVs:
purchase_orders.csv— one row per PO (the header fields, plus aline_item_count).po_line_items.csv— one row per line item, each carrying itspurchase_order_idandsupplier_nameso the two files join cleanly in a spreadsheet or an import.
This "one row per record" shape is what replacement importers expect, and it is the same format our own paid app will read back in a single click.
Step by step
- In Stocky, open Preferences → API and copy your API key. (Some plans need Shopify support to enable API access first.)
- Paste your store name and key into the free RestockLoop Exporter. The key is used only for this request and is never stored.
- Download the ZIP and open
purchase_orders.csvandpo_line_items.csv. Every PO and every line item is there, alongside suppliers, stock adjustments and tax types.
Want to see the exact columns first? Grab the sample output on the home page — it uses mock data with the identical layout, so you can check the format before entering your real key.
Do it before the API dies
The Stocky API stops responding on August 31, 2026. The read-only UI window that follows keeps the same per-PO, line-item-dropping export limitation, so the clean bulk export is only possible while the API is alive. Export now and keep the ZIP as a lossless backup even if you have not chosen a replacement app yet.