put
https://api.duodeal.app/api/deal-views/
Updates an existing deal view template by its ID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Deal view unique identifier |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | View template name |
byDefault | boolean | No | Set as default view template |
fields | array | No | Configuration of fields to display |
Fields Array
Each field object in the array can contain:
| Field | Type | Description |
|---|---|---|
name | string | Field name/identifier |
visible | boolean | Whether the field is visible in this view |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Deal view unique identifier |
name | string | View template name |
fields | array | Fields configuration |
byDefault | boolean | Default view status |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Deal view successfully updated400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key404 Not Found: Deal view 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
