Nova Help

Record operational dietary requirements

Read and update named and unnamed dietary needs using bounded operational permissions without changing party counts or prices.

Updated in release 0.0.1

Use the operations in API reference to maintain requirements on the actual native booking or reservation item. These operations neither amend people counts nor create financial adjustments. Record references are opaque UIDs.

Read available needs

Call GET /v1/bookings/{booking_uid}/dietary-options or GET /v1/schedule/reservations/{reservation_uid}/dietary-options with limit (1–100, default 50) and offset (default zero). The response includes data, total, limit and offset. Each need has uid, name, kind and is_active; allergy entries are ordered first. The options require schedule.meal_requirements.read and the actual native-kind or reservation read permission. Offering-settings access is not required.

Update unnamed counts

Read GET /v1/bookings/{booking_uid}/dietary-requirements. For an attached item, use GET /v1/schedule/reservations/{reservation_uid}/items/{item_uid}/dietary-requirements. Each count includes the guest type and need UID/label, need kind, and separate assigned_count, unassigned_count and total_count. Names and guest notes are excluded. The party field contains the actual recorded type counts and assigned counts, or null when people counts are unknown. It never infers a participant from a requirement. read_only_reason explains a current customer archive restriction. Send PATCH to the same address:

{
  "expected_counts": [
    {"guest_type_uid": "gtyp_0123456789abcdef", "dietary_need_uid": "diet_0123456789abcdef", "count": 1}
  ],
  "counts": [
    {"guest_type_uid": "gtyp_0123456789abcdef", "dietary_need_uid": "diet_0123456789abcdef", "count": 0}
  ]
}

Only supplied coordinates change. Include their expected current values; unrelated saved needs survive. An exact retry is safe. A conflicting current value returns 409 dietary_requirements_changed. Use the explicit update permission, schedule.meal_requirements.update, plus the underlying record's read permission. Broad booking or reservation update access is not implied. Unnamed requirements must fit the unnamed people of that type. Different needs may overlap, so their sum is not a headcount.

Update a named guest's needs

Use GET and PUT /v1/schedule/reservations/{reservation_uid}/guests/{guest_uid}/dietary-needs. The read also needs schedule.reservation_guests.read. The update takes expected_need_uids and dietary_need_uids, each a complete bounded set for that guest. It checks every currently assigned native item in the same transaction; it never consumes unnamed counts automatically. A stale expected set returns 409 guest_dietary_needs_changed.

Guest assignment previews and mutations use the existing item /guests operations. A change to dietary totals requires an explicit confirmation of the actual before and after coordinates. Previewing does not save the change; current values and access are checked again during the mutation.

To transfer a requirement explicitly while assigning a name, include expected_unassigned_counts and unassigned_counts on the item /guests mutation. The same atomic operation applies the assignment and supplied count changes. It preserves every unrelated coordinate. No matching count or guest name authorizes an automatic transfer.

Protect meal notes

The explicit native dietary-requirements read also returns dietary_notes. notes_supported is true only for an actual meal seating with a meal profile. To change that note through the narrow requirements endpoint, send both expected_dietary_notes and dietary_notes, alongside expected_counts and counts (empty arrays are valid for a note-only change). An omitted pair preserves the saved note. An exact retry is safe; a conflicting current note returns 409 dietary_notes_changed before any supplied counts are saved.

An ordinary booking detail includes that field inside meal_profile only with its own authorized sensitive read; an omitted field means the details were withheld, rather than an empty note. Optional details do not consume a separate watched-read approval. Use the explicit requirements read when that read needs a person's approval.

Writing meal_profile.dietary_notes through native booking creation or an amendment additionally requires schedule.meal_requirements.update in the original request's approval cohort. Omitting the note from a profile edit preserves its saved value. A writer returning existing protected details also requires their read authority; a watched read cannot be bypassed by sending an update. Approval for a GET never approves a PATCH at the same path.

Complete native-booking archive exports include meal notes and therefore require meal-operational read. Complete audit-log exports additionally require roster read; their events can contain those protected details. Restoring native booking content requires meal-operational update through the existing import execution policy.

Existing operational requirements remain readable and amendable after a plan switch-off. Definition maintenance and new quotations keep their own feature gates. Native counts do not require enabling Reservations. Identity, work-branch, customer-archive, current credential grants and opt-in approval policies still apply. Audit detail requires the same sensitive read permissions and access to the actual parent record.

Was this helpful?