Quote .create
POST /{namespace}/quotes
Creates a Quote.
- Noun
- Quote
- Mode
do- Event
Quote.created
Create makes a new Quote from the inputs below. It is inherited: every Noun has get, list, create, update and delete.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
total | money | required | The quoted total. |
validUntil | date | required | The last day it may be accepted. |
lines | json | required | 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. | |
deal | Deal | A Deal sends Quotes, each a priced proposal valid until a date. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
quote | Quote | required | The Quote. |
Effects
- Emits
Quote.created. - 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.create |
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. |