Quote .update
PATCH /{namespace}/quotes/{id}
Changes the given properties of a Quote.
- Noun
- Quote
- Mode
do- Event
Quote.updated
Update changes the given properties of a Quote. It is inherited: every Noun has get, list, create, update and delete.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
id | string | required | The id of the Quote. |
total | money | The quoted total. | |
validUntil | date | The last day it may be accepted. | |
lines | json | One line per Offer: quantity, list Price, discount percent, net amount, term, and start, one line per ramp year. | |
concessions | string[] | Concessions granted, each from the Startup’s fixed concession list, such as a 60-day termination for convenience. | |
paymentTerms | json | The collection, terms and purchaseOrder every Invoice from the accepted Quote carries. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
quote | Quote | required | The Quote. |
Effects
- Emits
Quote.updated. - Two-way:
try,send,do.
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.update |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| 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. |