put
https://api.duodeal.app/api/deal-view-links/
Updates an existing deal view link by its ID.
Typically used to change the associated deal view template while keeping the same shareable UUID.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Deal view link unique identifier |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
deal | object | No | Deal reference: {"id": dealId} |
dealView | object | No | Deal view template reference: {"id": dealViewId} |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Deal view link unique identifier |
uuid | string | Unique public identifier (unchanged) |
deal | object | Associated deal |
dealView | object | Associated deal view template |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Deal view link successfully updated400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key404 Not Found: Deal view link, deal, or 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
