Nova Help

Review meal-period coverage

Request explicit arrival and departure meal suggestions, then save reviewed choices through the ordinary offering writer.

Updated in release 0.0.1 Needs permission from your admin

Use the meal-coverage suggestion operation in API reference to review which selected meal periods fit the organization's established check-in and check-out clock defaults. This is an audited read and saves no offering, booking, party counts, allocation or financial source.

Request a suggestion

POST /v1/schedule/meal-coverage/suggestion requires schedule.offerings.read. It does not require pricing or booking permissions. Supply up to 100 distinct, active meal-period UIDs from the current organization:

{
  "meal_period_uids": ["mprd_0123456789abcdef", "mprd_fedcba9876543210"]
}

For breakfast at 08:00–10:00, dinner at 18:00–20:00, check-in at 15:00 and check-out at 11:00, the response is:

{
  "shape": "plan",
  "meal_period_uids": ["mprd_0123456789abcdef", "mprd_fedcba9876543210"],
  "arrival_day_periods": ["mprd_fedcba9876543210"],
  "departure_day_periods": ["mprd_0123456789abcdef"]
}

An explicit empty selection returns three empty lists. Missing periods are not expanded from the organization catalog. Wrong-type, unknown and foreign references return 404; an archived new choice returns 409 meal_period_archived. Current credential permissions and optional read approval policies are rechecked after the definition lock wait.

Save reviewed choices

Review or edit the returned subsets and send them in settings.meal through the ordinary offering create or update operation. A seating uses {"shape":"seating","meal_period_uid":"mprd_0123456789abcdef"} instead. New definitions require complete explicit coverage. Arrival and departure lists must be subsets of the included plan periods; repeated references and mixed seating/plan fields are refused.

The offering writer retains its existing permissions and transaction. Coverage changes need the applicable Meals and meal-plan configuration capabilities. Changing a financial arrangement or gratuity still needs its ordinary pricing authority. A partial operational settings update preserves omitted coverage and protected pricing fields. It never derives new boundary lists silently.

Existing archived references can be retained or removed; adding an archived period to a new boundary is a new use and is refused. A historical offering with no recorded coverage can remain readable and be renamed without inventing coverage. A missing historical selection is distinct from an explicit empty list. Later clock defaults do not rewrite saved lists.

Was this helpful?