Skip to content

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

InputTypeRequiredDescription
quoteQuoterequiredThe sent Quote.
partyPartyrequiredThe Contact or Organization accepting, who becomes the Customer.

Outputs

OutputTypeRequiredDescription
orderOrderThe Order for the one-time lines, when the Quote has any.
subscriptionSubscriptionThe Subscription for the recurring lines, at each line’s quantity and term.
quoteQuoterequiredThe Quote, now accepted.

Effects

  • Emits Quote.accepted.
  • Performed by the Sales Engineer.
  • One-way: it waits out its delay window, and runs in the send and do modes.
  • Runs Offer.accept for 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 earns Event captures it.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Quote.accept

When it waits

GateDefault
Decision classMedium: one-way, bounded
Delay window1 business hour, in which a watcher can pause, redirect or cancel it; then it runs.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt 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.