post
https://api.duodeal.app/api/quotation-status
Creates a new quotation status.
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Status name (e.g., "Draft", "Sent", "Signed") |
color | string | No | Color for UI display (e.g., "blue", "#3498db") |
onAction | string | No | Automatic trigger action (see below) |
onAction Values
| Value | Description |
|---|---|
create | Default status for new quotations |
deal-sent | Applied when quotation is sent |
deal-signed | Applied when quotation is signed |
null | No automatic trigger |
Note: Only one status can have each onAction value. Setting an onAction may remove it from another status.
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Newly created status unique identifier |
name | string | Status name |
color | string | Color for UI display |
onAction | string | Automatic trigger action |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
201 Created: Quotation status successfully created400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201Resource created
400Bad request
401Unauthorized
