Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hemen Mağaza Headless API ile ilk isteğinizi gönderin.
https://api.hemenmagaza.com/v1
https://sandbox-api.hemenmagaza.com/v1
curl -X GET "https://api.hemenmagaza.com/v1/products?limit=5" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Accept: application/json" \ -H "Content-Type: application/json"
const response = await fetch('https://api.hemenmagaza.com/v1/products?limit=5', { headers: { Authorization: 'Bearer YOUR_API_TOKEN', Accept: 'application/json', 'Content-Type': 'application/json', }, }); const products = await response.json(); console.log(products.data);
{ "data": [ { "id": 101, "sku": "HM-TSHIRT-001", "name": "Siyah Oversize Tişört", "slug": "siyah-oversize-tisort", "price": 599.9, "currency": "TRY", "stock": 24, "status": "active" } ], "meta": { "page": 1, "limit": 5, "total": 146, "total_pages": 30 } }