Storefront-API
Publieke sleutel per webshop. Voor je frontend, SSR of app.
curl https://ecommerce.lich.software/api/v1/storefront/products/linnen-schort \
-H "X-Tenant-Key: pk_…" \
-H "Accept-Language: nl" 200 OK · ETag: "9f2c…"
{
"data": {
"name": "Linnen schort",
"slug": "linnen-schort",
"price": 3995,
"sale_price": null,
"in_stock": true,
"options": [ { "name": "Kleur", "values": ["Oker", "Indigo"] } ],
"variants": [
{ "id": 341, "sku": "SCHORT-OKER", "price": 3995,
"stock_quantity": 7, "in_stock": true,
"options": [ { "option": "Kleur", "value": "Oker" } ] }
]
}
}