GET /catalog returns everything in one response, so one request refreshes your whole shop.
Recommended pattern
- Refresh the catalog every 5 to 15 minutes, or on demand when a customer opens a product.
- Match products and variants by
id. IDs are stable; names and prices change.
- Hide variants where
available is false.
- Treat
in_stock as a hint, not a promise. Always handle a purchase error.
- Add
?category_id=10 to fetch one category.
Show your customers your own selling price. The price you get is your wholesale cost.