Quote .send
POST /{namespace}/quotes/{quote}/send
Send presents a drafted Quote to its buyer and freezes its lines, total and payment terms.
- Noun
- Quote
- Mode
do- Event
Quote.sent
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
quote | Quote | required | The draft Quote. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
quote | Quote | required | The sent Quote. |
Effects
- Emits
Quote.sent. - Performed by the Sales Engineer.
- One-way (customer): it waits out its delay window, and runs in the
sendanddomodes. - A change after sending supersedes the Quote; a sent Quote is never edited.
- Checks each line’s discount against the discount Limit before sending.
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.send |
When it waits
| Gate | Default |
|---|---|
| Decision class | Medium: one-way, bounded (customer) |
| 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. |