Record seating choices through the API
Read saved seating choices and submit explicit option and participant counts through the booking's own permissions.
Menu choices belong to a customer meal seating. Use the opaque references returned by Nova. Quantities belong to the seating, including participants whose names are unknown; assigning a name does not create another charge or cover.
Read the saved selection
Call GET /v1/bookings/{booking_uid}/meal-choices with the organization's
authenticated context and the actual meal read permission. Its work branch
controls access. A missing selection returns state: "unrecorded"; it is not
an empty or zero selection. A recorded result includes economic_revision,
saved groups, saved options and recorded option/type counts. Zero coordinates
can be omitted from that normalized result; the saved option list remains.
This operational response contains no prices or personal dietary requirements. Those need their own permissions. Saved descriptions and constraints remain available after definitions are renamed or archived.
Submit one complete amendment
Send PUT /v1/bookings/{booking_uid}/meal-choices with
expected_economic_revision copied from the saved result and the complete
counts array. Each count has group_uid, option_uid, guest_type_uid
and a nonnegative integer count. Record each coordinate once. Omitted
coordinates in that complete selection mean zero, not “leave unchanged.”
An empty array explicitly records no selections where group minimums permit it.
An initially unrecorded selection uses a null expected revision.
Omit party_counts to preserve participants. Include the complete typed party
when changing it together with choices; null means unknown and an empty array
means zero people. An explicit party change also requires expected_plan_version
from that seating's current booking response. This compares the existing booking
version independently of the menu's economic revision; a concurrent participant
edit must not be overwritten by an older joint draft. Neither form bypasses required counts, group constraints,
existing guest annotations or physical capacity. The server never distributes
or clamps choices to make a request fit.
The actor needs the actual meal read and update permissions. A connected app's credential ceiling, branch access and approval policy still apply. This command accepts no prices, policy snapshots, source identities, named guest reviews or permission lists. To change quantities and named reviews together, use the separately authorized reservation item command in Record seating choices and guest reviews together. Read the returned booking through its normal field permissions, then reload saved choices to obtain the new comparison revision.
Prepare a commercial review
Preparing review is a separate successful operation. Send
POST /v1/bookings/{booking_uid}/meal-choices/commercial-review with the complete
amendment nested under amendment and a nonblank reason of at most 4,000
characters. Use the same revision and omission rules as the ordinary amendment:
{
"amendment": {
"expected_economic_revision": 4,
"counts": []
},
"reason": "Review the proposed seating change before applying it."
}
The example's empty counts explicitly select none; use the actual complete
selection permitted by that seating's groups. Preparation needs
schedule.meals.read, commerce.pricing.read and at least one existing
commercial request permission: commerce.override.apply,
commerce.override.review, commerce.approval.review,
commerce.approval.approve, commerce.approval.reject or
commerce.governance.manage. For software, watched permissions join one complete
approval cohort. A partial human approval does not consume the other approvals
or save the proposed work.
A 200 returns booking_uid, nullable native_subject_uid and requests.
Each request exposes only its opaque uid, status, trigger, severity and
blocking summary. When no commercial review is required, the subject is null
and the list is empty. Repeating unchanged business intent reuses the existing
review; it does not copy old approval decisions to changed financial material.
Use each returned request UID with the existing Commerce request, review,
approve and reject operations under /v1/commerce/approval-requests. Native
request details identify their subject_type as native and carry opaque
native_subject_uid and booking_uid references; financial_document_uid is
null. The detail read preserves the booking's current work scope and existing
commercial-detail permission. Financial data keeps its underlying permissions.
Native responses keep line_key null and omit the private financial line key
from subject_snapshot. Identify each request by its opaque uid; approval_key
identifies its frozen rule binding. In a permitted proposal detail, use
approval_target to find the affected line. Document-backed approval responses
keep their existing line keys and collection-filter behavior.
The shared response includes booking_number for display and booking_variant
for the booking page. Use the opaque booking_uid with that variant and the
booking type's current read permission. Missing or unknown references do not
authorize a guessed booking page. The foundation exposes seating choice and
initial-charge reviews; deferred ordinary new-charge reviews stay unavailable.
These native proposals identify their operation as choice_amendment or
first_financial_admission. Each decision remains separate from applying the change,
identity verification, manual booking approval and payment. Permitted request
notes remain readable without pricing access, including existing history when
new bookings of that type have been switched off.
With actual commerce.pricing.read access, the detail response includes a
native_proposal containing the prepared reason, currency, complete net, tax
and total amounts, and a page of proposed charge lines. Its state is
proposed. The tax_context is account_bound_estimate for a resolved
customer, or pending_customer_provisional_estimate while customer review is
pending. Provisional tax can change when the customer is confirmed. These
saved review values describe the proposal; applying a change and issuing an
invoice are separate actions. Changed tax or pricing policy requires a fresh
review before a decision can be applied.
Use proposal_line_limit (1–500, default 100) and proposal_line_offset
(default 0) on GET /v1/commerce/approval-requests/{approval_request_uid}.
line_count is the complete proposal count and totals cover every line,
including any gratuity. Load each page when reviewing a large proposal. A
line's position is only its ordinal in that proposal, never a record ID.
approval_target identifies the line this request concerns.
Each line's cost and margin have their own permission checks. An authorized
but unresolved cost is an object with status unavailable and null amount
fields, never zero. Without cost permission, the whole cost field is null.
Without pricing access, native_proposal is null and the existing small status
and notes view remains available. Every exposed watched field permission joins
the same complete native read approval; a catalog permission cannot skip the
watched pricing, cost or margin permissions.
The shared collection GET /v1/commerce/approval-requests supports limit
(1–500, default 100), offset, q, repeated status values and an exact
line_key filter. total counts the complete currently visible filtered set;
data is only that page. Search includes document or booking numbers and the
request's policy, trigger and description. Do not paginate the returned page
again or preload every page. A document-only query uses its opaque
financial_document_id reference and does not consume native booking-read
permission. Native queue rows need the booking's actual current read and work
scope but contain no proposed prices or full subject material. Use the
independent detail read for that financial view. A request deep link stays
valid even when it is absent from the visible queue page.
Native decision actions also require current pricing-read access and the current rule's reviewer permissions. They re-evaluate the full proposal before changing a decision.
Preparation saves review records and audit only. It never saves participant or choice changes, creates charges, changes an invoice, moves funding, sends a customer message or verifies identity. Approval is separate from applying work; an approved request is not a bypass for a refused ordinary amendment.
This initial preparation path supports customer-bound seatings without invoiced sources or a current replacement-price correction. Pending-customer and issued or returning-charge corrections remain guarded. Keep the complete draft after a conflict; do not invent a financial document or retarget a saved review.
Apply the reviewed amendment
After all required requests are approved, send the same complete amendment to
PUT /v1/bookings/{booking_uid}/meal-choices, adding only
commercial_review_subject_uid with the returned native_subject_uid:
{
"expected_economic_revision": 4,
"counts": [],
"commercial_review_subject_uid": "cnas_0123456789abcdef"
}
Use your actual permitted counts and saved subject reference. Preserve the
original presence or omission of party_counts and expected_plan_version.
The writer still needs the ordinary meal read and update permissions and any
permissions required by the current charge policy. Preparing or approving the
review does not grant those rights. Pricing-read access is required for review
preparation and decisions; the final writer does not gain it from the selector.
Nova checks the full current proposal and approvals before saving the actual seating and charges in one transaction. A change to the approved proposal or financial material requires fresh review, including changed quantities, tax, policy or required permissions. Saved unit prices and known or unresolved costs keep their original terms; editing the current catalog does not reprice them. A refused write saves no partial charge or consumed review. Successful application consumes that subject once; reusing it returns a conflict. A wrong-type subject reference is not found. This does not issue an invoice, apply held money, refund cash, verify identity or satisfy a separate operational approval.
A successful 200 returns the same ordinary booking response described below.
Reload saved choices for their actual comparison revision. The review does
not invent a financial correction group or advance an unchanged booking
version. Pending-customer, invoiced, returning-charge and replacement-group
corrections remain outside this initial apply path.
Handle a refusal explicitly
A stale comparison requires reloading and reviewing the changed selection. An incompatible party or choice returns a conflict; preserve the user's draft while they resolve it. Permission or plan changes also apply before commit. Never retry with a guessed revision, silently clear a guest's review, or infer a choice from dietary information.
The organization's current discount policy can require additional permissions when the complete proposal recalculates a price-reducing choice. Every configured permission is required, including when the resulting reduction is zero. API-client scopes and explicit denies still apply. Watched permissions join the same complete request approval; one approved permission does not grant the others. A policy change while the request waits can require a new approval or refuse the change. Reviews that leave pricing inputs unchanged keep their ordinary meal and guest-list permissions.
Ordinary Commerce rules own the charge, discounts, tax and gratuity. A refused amendment keeps saved work, allocations and financial rows unchanged. A billing review refusal requires the existing staff workflow. Invoiced history and cash refunds are never rewritten or inferred from an option count edit.
Selecting an option again after its quantity reached zero can create a separate charge using its saved unit price. Old charge allocations do not become the new charge's allocations. Reload any authorized billing detail you need; never infer financial lineage or payment/refund authority from the operational counts.
A 413 with booking_input_allocation_too_large means the saved pricing detail
would exceed the supported limit. New booking creation and saved-input changes
are refused without saving the proposed work. Have staff review the pricing
configuration before retrying the complete request. Do not split a replacement
selection into partial requests: omitted coordinates would become zero.
Example request and response
After reading economic revision 4, this request changes the seating's complete
selection without changing its participants:
PUT /v1/bookings/sbook_0123456789abcdef/meal-choices
Content-Type: application/json
X-Organization-ID: 1
{
"expected_economic_revision": 4,
"counts": [
{
"group_uid": "mchg_0123456789abcdef",
"option_uid": "mcho_0123456789abcdef",
"guest_type_uid": "gtyp_0123456789abcdef",
"count": 2
}
]
}
A successful 200 returns the ordinary booking response, including its opaque
uid and current plan_version; financial fields follow the actor's normal
permissions. A subsequent saved-selection read includes:
{
"booking_uid": "sbook_0123456789abcdef",
"state": "recorded",
"economic_revision": 5,
"counts": [
{
"group_uid": "mchg_0123456789abcdef",
"option_uid": "mcho_0123456789abcdef",
"guest_type_uid": "gtyp_0123456789abcdef",
"count": 2
}
]
}
The excerpt omits the saved groups and options. Use actual UIDs and comparison values returned by authorized reads; examples are not records in your organization.