Quote .accept
POST /{namespace}/quotes/{quote}/accept
Accept takes a sent Quote before it expires, turning one-time lines into an Order and recurring lines into a Subscription.
- Noun
- Quote
- Mode
do- Event
Quote.accepted
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
quote | Quote | required | The sent Quote. |
party | Party | required | The Contact or Organization accepting, who becomes the Customer. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
order | Order | The Order for the one-time lines, when the Quote has any. | |
subscription | Subscription | The Subscription for the recurring lines, at each line’s quantity and term. | |
quote | Quote | required | The Quote, now accepted. |
Effects
- Emits
Quote.accepted. - Performed by the Sales Engineer.
- One-way: it waits out its delay window, and runs in the
sendanddomodes. - Runs
Offer.acceptfor each quoted Offer, pinning its Version at the quoted terms. - Carries each line’s discount and the payment terms onto the Order or Subscription and their Invoices.
- Wins the Deal that issued the Quote and supersedes every other open Quote on it.
- A Service Order enters intake and authorizes payment; its Outcome Contract’s
earnsEvent captures it.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Quote.accept |
When it waits
| Gate | Default |
|---|---|
| Decision class | Medium: one-way, bounded |
| Delay window | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |