909 B
909 B
name, description
| name | description |
|---|---|
| confectionery-orders | Create or prepare a confectionery order from confirmed customer and item details. Use when a user asks to register an order or counter sale; confirm before sending it to an external system. |
confectionery-orders
Inputs
Customer, pickup or delivery choice, items, quantities, prices, and optional discount.
Workflow
- Validate required fields and positive quantities.
- Calculate the proposed total and show a concise order summary.
- Ask for confirmation before creating or transmitting an order.
- Return the saved identifier or a clearly labeled draft.
Rules
- Do not invent recipe availability, prices, addresses, or customer details.
- Keep payment and personal data out of logs.
- Read
references/order-schema.mdwhen mapping to the order system.
Output
Return a valid order payload plus validation warnings and confirmation state.