Inventory
Retrieve inventory levels and document-backed movements with fixed-decimal quantities.
Permission: מלאי (inventory:read)
Inventory levels
GET /inventory returns only inventory-tracked products. It supports common cursor and time filters, status=active|inactive, and search over product name. Sort order is updated_at descending and then ID descending.
{
"id": "44cfbbd5-185d-4c9d-8597-588c25e574e8",
"object": "inventory_level",
"product_id": "44cfbbd5-185d-4c9d-8597-588c25e574e8",
"product_name": "Workshop workbook",
"sku": "BOOK-01",
"quantity": "42.000",
"low_stock_threshold": "10.000",
"status": "active",
"created_at": "2025-12-01T09:00:00.000Z",
"updated_at": "2026-07-20T09:16:00.000Z"
}Inventory movements
GET /inventory/movements supports limit, cursor, created_after, and direction through status=increase|decrease. It rejects updated_after and search. Results sort by created_at descending and ID descending.
import os
import requests
api_key = os.environ.get("DAILY_API_KEY")
if not api_key:
raise RuntimeError("DAILY_API_KEY is required")
response = requests.get(
"https://api.godaily.co.il/v1/inventory/movements",
params={"status": "decrease", "created_after": "2026-07-01T00:00:00.000Z", "limit": 100},
headers={"Authorization": f"Bearer {api_key}", "Accept": "application/json"},
timeout=30,
)
body = response.json()
if not response.ok:
raise RuntimeError(f"Daily API {response.status_code} ({body.get('request_id')})")
print(body["data"]){
"id": "2d545552-8dfa-4f5c-86d7-293390f6ec3e",
"object": "inventory_movement",
"product_id": "44cfbbd5-185d-4c9d-8597-588c25e574e8",
"product_name": "Workshop workbook",
"sku": "BOOK-01",
"document_id": "813d0b3f-ab6c-43d4-9173-8f224566ba2f",
"direction": "decrease",
"quantity": "2.000",
"created_at": "2026-07-20T09:16:00.000Z"
}Quantities are fixed three-decimal strings. Movement pages do not include updated_at.
API playground
Your key stays only in this React page’s memory and is sent directly to Daily API. It is not persisted, placed in a URL, logged, or sent to analytics. Refreshing or closing this page clears it.
https://api.godaily.co.il/v1/inventory
