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.
cURL
curl --request POST \ --url https://api.hemenmagaza.com/v1/cart \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "currency": "<string>" } '
{ "cart_token": "<string>", "items": [ { "id": 123, "product_id": 123, "name": "<string>", "quantity": 123, "unit_price": 123, "total": 123, "sku": "<string>", "options": {} } ], "totals": { "subtotal": 123, "tax": 123, "shipping": 123, "discount": 123, "grand_total": 123 }, "currency": "<string>" }
Authorization: Bearer YOUR_API_TOKEN
"TRY"
Sepet oluşturuldu.
"cart_8f1f7c"
Show child attributes