Create inventory item (manual or AI)
Create a new product or service item in the Tyms catalog. Set is_inventory: true to track stock; omit for non-stocked services. Supports AI create when prompt is present.
Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
Item name.
Default selling price.
Unit cost for COGS and stock valuation.
Opening stock quantity.
Unit of measure (e.g. pcs, kg).
Set true to track stock movements. Omit for non-stocked services.
Item type.
product, service Item currency; defaults to business currency.
Item description.
Revenue account name/uuid/code for sales lines.
Expense or COGS account name/uuid/code for cost lines.
Response
Item created