Update deal
curl --request PATCH \
--url https://dev-public-api.openphone.dev/deals/{dealId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"title": "Renamed",
"value": {
"amount": 500000,
"currency": "USD"
},
"statusId": "DSa1b2c3d4e5f6a1b2c3d4e5f6",
"contactIds": [
"6a145ff26212a192852c856e"
],
"ownerIds": [
"US123abc"
]
}
'{
"data": {
"id": "DLa1b2c3d4e5f6a1b2c3d4e5f6",
"pipelineId": "SPa1b2c3d4e5f6a1b2c3d4e5f6",
"statusId": "DSa1b2c3d4e5f6a1b2c3d4e5f6",
"stage": "active",
"contactIds": [
"6a145ff26212a192852c856e"
],
"ownerIds": [
"US123abc"
],
"createdAt": "2026-01-01T00:00:00Z",
"title": "Website redesign",
"value": {
"amount": 500000,
"currency": "USD"
},
"archivedAt": "2026-01-01T00:00:00Z"
}
}Deals
Update deal
Update a deal’s title, value, status, primary contact or owner. Returns 202 Accepted with no body when the update is saved but not yet readable, in which case fetch the deal with GET /deals/.
PATCH
/
deals
/
{dealId}
Update deal
curl --request PATCH \
--url https://dev-public-api.openphone.dev/deals/{dealId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"title": "Renamed",
"value": {
"amount": 500000,
"currency": "USD"
},
"statusId": "DSa1b2c3d4e5f6a1b2c3d4e5f6",
"contactIds": [
"6a145ff26212a192852c856e"
],
"ownerIds": [
"US123abc"
]
}
'{
"data": {
"id": "DLa1b2c3d4e5f6a1b2c3d4e5f6",
"pipelineId": "SPa1b2c3d4e5f6a1b2c3d4e5f6",
"statusId": "DSa1b2c3d4e5f6a1b2c3d4e5f6",
"stage": "active",
"contactIds": [
"6a145ff26212a192852c856e"
],
"ownerIds": [
"US123abc"
],
"createdAt": "2026-01-01T00:00:00Z",
"title": "Website redesign",
"value": {
"amount": 500000,
"currency": "USD"
},
"archivedAt": "2026-01-01T00:00:00Z"
}
}Headers
Path Parameters
Body
application/json
Was this page helpful?