portal_quote_accept
Accepts a quote through the customer’s portal link, making it binding and spending that link. Requires token and quoteId; idempotency prevents duplicate acceptance.
Instructions
Nimm eine Offerte über das Portal an (US-F02.3): fence-checks the token (the quote must be in scope AND belong to the grant's contact) then DELEGATES to C02's real accept (the A10 sent -> accepted transition) with actor portal:. F02 owns no quote state and hand-rolls no invoice. Idempotent via idempotencyKey: a same-key re-accept returns the original, never a second acceptance (no double-issue). C02's own errors (invalid_transition on a non-sent quote, quote_expired) surface unchanged. A refused accept writes zero rows. Token-authenticated, pre-workspace: no workspaceId. CONSEQUENCE: Accepts the quote through the customer's portal link, which makes it binding and spends that link. An accepted quote cannot be withdrawn or revised; the next step is turning it into an order or invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| quoteId | Yes | ||
| idempotencyKey | No |