---
title: "Update a deal"
method: PATCH
path: "/crm/deals/{id}"
tags: ["Deals"]
---

# Update a deal

`PATCH /crm/deals/{id}`

## Path parameters

- `id` string, required

## Request body

- Body9
  - `name` string — Name of deal
  - `attributes` object — Attributes for deal update To assign owner of a Deal you can send attributes.deal_owner and utilize the account email or ID. If you wish to update the pipeline of a deal you need to provide the `pipeline` and the `deal_stage`. Pipeline and deal_stage are ids you can fetch using this endpoint `/crm/pipeline/details/{pipelineID}`

## Response `204`

Deal updated successfully

## Other responses

- `400` — Returned when invalid data posted
- `404` — Returned when deal id is not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
