Quickstart
Use your store-scoped integration key to fetch products from Sedifex.
1) Prerequisites
- Access to a Sedifex workspace + store
- A developer role or above in that store
- An integration key generated from the console
2) Copy/paste JavaScript example
const storeId = "store_123";
const integrationKey = "sk_live_..."; // Revealed once in console
const response = await fetch(
`https://api.sedifex.com/integrationProducts?storeId=${storeId}`,
{
method: "GET",
headers: {
Authorization: `Bearer ${integrationKey}`
}
}
);
if (!response.ok) {
throw new Error(`Request failed with status ${response.status}`);
}
const payload = await response.json();
console.log(payload.products);
3) Verify successful integration
- Response returns 200 with a
productsarray. storeIdin response matches your requested store.- Integration key appears with updated last used in console.