Guides
Product catalog lookups
Categories, makers, models, model numbers and barcodes.
The catalog is what the posting form picks from. Reading it first means your listings pass the form's checks.
| To find | Call |
|---|---|
| Categories of a marketplace, with units | GET /catalog/categories?marketplace=tools |
| A category's materials or types and questions | GET /catalog/categories/{id} |
| Makers | GET /catalog/makers?marketplace=tools&q=mak |
| A maker's models | GET /catalog/models?marketplace=tools&maker=12&q=xdt |
| A model by its number | GET /catalog/lookup?marketplace=tools&q=XDT13 |
| A model by its barcode | GET /catalog/lookup?marketplace=tools&code=088381123456 |
curl -H "X-API-Key: ssk_YOUR_KEY" "https://dev.siteswap.pro/api/v1/catalog/lookup?marketplace=tools&code=088381123456"A barcode answer says whether the check digit is right (code.valid), and the pack it is printed on. Send the model's id as model_id when you post: the maker and the maker's stated figures come with it. Every model keeps the maker's page it was read from and the day (source, checked).
SiteSwap API v1Support