---
title: "Update deal"
method: PUT
path: "/support/deals/{deal_id}"
tags: ["Deals Support"]
---

# Update deal

`PUT /support/deals/{deal_id}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/support/deals/{deal_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Path parameters

- `deal_id` integer, required

## Request body

- DealUpdate
  - `price` number, nullable
  - `billing_interval` string, nullable
  - `collection_method` string, nullable
  - `currency` string, nullable
  - `base_plan_id` integer, nullable
  - `ent_overrides` object, nullable
  - `custom_connectors` string[], nullable
  - `contract_start` string, date-time, nullable
  - `contract_end` string, date-time, nullable
  - `trial_end` string, date-time, nullable
  - `payment_terms` string, nullable
  - `notes` string, nullable
  - `contact_name` string, nullable
  - `contact_email` string, nullable
  - `status` string, nullable

## Response `200`

Request fulfilled, document follows

- DealIdsResponse
  - `id` integer, required
  - `workspace_id` integer, required

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/17af8131167d?raw)
