Low Code
Deals with common use cases and gets you started quickly.
Low Code
Deals with common use cases and gets you started quickly.
API Driven
For bespoke functionality and advanced use cases.
// Note: use an advanced api key (begins with TSC). Keep this secret! const apikey = "TSC_xklAIE15WOnl12as11f467bk47asxn4LPazb"; const body = { "products": [ { "active": true, "categories": [ "soft-drinks" ], "id": "example-product-coca-cola", "imageURL": "https://intl.cokestore.com/media/catalog/product/1/6/16181_squeeze-ko-can-maria-2.png", "name": "Coca Cola can", "price": "9.99", "vendors": [ "coca-cola" ] } ] }; try { const response = await fetch("https://api.topsort.com/public/v1/catalog-search-service/catalogs/products", { method: "PUT", mode: "cors", headers: { Authorization: `Bearer ${apikey}`, "Content-Type": "application/json; charset=utf-8", }, body: JSON.stringify(body), }) if (!response.ok) { console.error("unexpected status: " + response.status); } else { console.log("success status: " + response.status); } } catch (error) { console.error(error); }
We provide client libraries to help you get started quickly:
Not sure where to begin? Learn about the fundamental components: