Products
Retrieve products and raw materials with minor-unit prices and catalog metadata.
Permission: מוצרים ושירותים (products:read)
| Operation | Path |
|---|---|
| List | GET /products |
| Retrieve | GET /products/{id} |
The list supports common cursor and time filters, status=active|inactive, and search over product name, SKU, and barcode. Results sort by updated_at descending and then 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/products",
params={"status": "active", "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([(item["sku"], item["price_minor"]) for item in body["data"]]){
"id": "44cfbbd5-185d-4c9d-8597-588c25e574e8",
"object": "product",
"type": "product",
"name": "Brand workshop",
"description": null,
"sku": "WORKSHOP-01",
"barcode": "7290012345678",
"price_minor": 185000,
"currency": "ILS",
"vat_behavior": "excluding_vat",
"unit": null,
"status": "active",
"inventory_tracked": false,
"created_at": "2025-11-02T12:00:00.000Z",
"updated_at": "2026-07-18T08:15:00.000Z"
}type is product or raw_material. price_minor is an integer minor-unit amount. description and unit are currently always null; clients should still follow the published schema.
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/productsManage products and raw materials
products:write allows creation, updates, soft deletion, and restoration through POST /products, PATCH /products/{id}, DELETE /products/{id}, and POST /products/{id}/restore.
Raw materials use the corresponding routes under /raw-materials, along with GET /raw-materials and GET /raw-materials/{id}. A raw material used in an active recipe cannot be deleted until that use is removed.
GET /products/{id}/details returns price and cost as strings, permanent note, image, commission settings, inventory, recipes, and raw material components. The CreateProductDto, UpdateProductDto, and ProductRawMaterialComponentDto schemas define all fields. default_supplier_id is available only for raw materials.
Creation requires description, price, and currency. For example: {"description":"Catalog item","price":"125.00","currency":"ILS"}. Updating inventory or recipe fields also requires inventory:write. Use IDs of existing entities in the same business for suppliers, images, and components.

