Skip to main content

Quickstart

const BASE = 'https://<shop>.sepetak.com/api/v1';

const res = await fetch(`${BASE}/products?limit=12`, {
headers: {'X-API-Version': '2026-09-09'},
credentials: 'omit',
});
const {products} = await res.json();

Pin X-API-Version to the date you wrote against. That shape never changes. Without the header you get the baseline (2026-09-05). See Versions.

For a JavaScript site, the client our templates use ships as @sepetakhq/storefront-kit: configureApi({ baseUrl }), then one function per endpoint with one error type.