record_sale
Records a sale order with item details, customer, channel, and payment status; automatically deducts product stocks in Chirak to keep inventory updated.
Instructions
Record a sale order and automatically deduct the corresponding product stocks in Chirak.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | List of items in the order. | |
| notes | No | Order notes or special delivery instructions. | |
| channel | No | Sale channel: 'WhatsApp', 'Instagram', 'Fiziki Mağaza', 'Web Sitesi', 'Telefon Siparişi', 'Diğer'. | |
| customerName | No | Customer full name (optional). | |
| customerPhone | No | Customer phone number (optional). | |
| paymentStatus | No | Payment status: 'Ödendi', 'Ödenmedi', 'Kısmi Ödeme'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Result data payload from Chirak API. | |
| success | No | Status of the tool execution. |