put
https://api.duodeal.app/api/quotation-status/
Updates an existing quotation status by its ID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Quotation status unique identifier |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Status name |
color | string | No | Color for UI display |
onAction | string | No | Automatic trigger action or null to remove |
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 | Remove automatic trigger |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | 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
200 OK: Quotation status successfully updated400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key404 Not Found: Quotation status not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
