Order .revise
POST /{namespace}/orders/{order}/revise
Revise sends delivered lines back for one counted revision, with the changes the Customer asks for.
- Noun
- Order
- Mode
do- Event
Order.revised
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
order | Order | required | The delivered Order. |
lines | json | The lines sent back; every delivered line when absent. | |
changes | text | required | What the Customer wants changed, such as a shorter summary. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
order | Order | required | The Order, its fulfillment set to revising. |
Effects
- Emits
Order.revised. - Performed by the Delivery Manager.
- Two-way: it runs at once, in the
try,sendanddomodes. - Counts against the Outcome Contract’s
revisions; past the allowance, the Order is disputed and the remedy starts. - Pauses the acceptance window until the revised work is delivered.
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. | Order.revise |
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. |