Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Update deal

PATCH/v1/crm/deals/{dealID}
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Path parameters
dealIDstringrequired
Request body
requiredapplication/json
amountstring
currencystring
custom_fieldsany
expected_close_atstring
metadataany
owner_user_idstring
stage_idstring
statusstring
titlestringrequired
Responses
200OK
amount_in_home_currencystringrequired
amount_minorstringrequired
created_atstringrequired
currency_codestringrequired
custom_fieldsanyrequired
display_currencystringrequired
display_currency_minorstringrequired
display_currency_unitinteger<int64>required
expected_close_atstringrequired
home_currency_at_writestringrequired
idstringrequired
metadataanyrequired
minor_unitinteger<int64>required
owner_user_idstring | nullrequired
source_conversation_idstring | nullrequired
stage_idstring | nullrequired
statusstringrequired
titlestringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
403Forbidden
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
404Not Found
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X PATCH "/v1/crm/deals/string" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": "string",
  "currency": "string",
  "custom_fields": "string",
  "expected_close_at": "string",
  "metadata": "string",
  "owner_user_id": "string",
  "stage_id": "string",
  "status": "string",
  "title": "string"
}'
Response
{
  "amount_in_home_currency": "string",
  "amount_minor": "string",
  "created_at": "string",
  "currency_code": "string",
  "custom_fields": "string",
  "display_currency": "string",
  "display_currency_minor": "string",
  "display_currency_unit": 0,
  "expected_close_at": "string",
  "home_currency_at_write": "string",
  "id": "string",
  "metadata": "string",
  "minor_unit": 0,
  "owner_user_id": "string",
  "source_conversation_id": "string",
  "stage_id": "string",
  "status": "string",
  "title": "string",
  "updated_at": "string"
}