Create event
parsley_create_eventWRITE: create an event (a workday, shift, service or catering event) in Parsley with its menu items. This changes the account's production plan and is NOT idempotent: calling it twice creates two events. Returns the new event id. Use parsley_list_events first to avoid duplicates. POST /events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The day of the event, yyyy-mm-dd. | |
| name | Yes | Event name, e.g. 'Brunch'. | |
| type | Yes | Event type: standard, cafe-hot-bar, sale or forecast. | |
| menu_id | No | Parsley menu id the event uses (from parsley_list_menus). | |
| private | No | Mark the event private. | |
| end_time | No | Time of day, HH:mm (24 hour). | |
| line_items | Yes | The menu items and amounts to produce or sell (may be empty). | |
| start_time | No | Time of day, HH:mm (24 hour). | |
| description | No |