SiteSwapDevelopers
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 findCall
Categories of a marketplace, with unitsGET /catalog/categories?marketplace=tools
A category's materials or types and questionsGET /catalog/categories/{id}
MakersGET /catalog/makers?marketplace=tools&q=mak
A maker's modelsGET /catalog/models?marketplace=tools&maker=12&q=xdt
A model by its numberGET /catalog/lookup?marketplace=tools&q=XDT13
A model by its barcodeGET /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