Skip to content

Quote.expire

POST /{namespace}/quotes/{quote}/expire

Expire closes a sent Quote that reached its validUntil date unaccepted; it never converts afterward.

Noun
Quote
Mode
do
Event
Quote.expired

Inputs

InputTypeRequiredDescription
quoteQuoterequiredThe Quote past its date.

Outputs

OutputTypeRequiredDescription
quoteQuoterequiredThe expired Quote.

Effects

  • Emits Quote.expired.
  • Performed by the Sales Engineer.
  • Two-way: it runs at once, in the try, send and do modes.
  • Runs on the validUntil date with no caller.

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.expire

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
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.