---
title: "Move a direct deal under a partner"
method: POST
path: "/support/deals/{deal_id}/move-to-partner"
tags: ["Deals Support"]
---

# Move a direct deal under a partner

`POST /support/deals/{deal_id}/move-to-partner`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/support/deals/{deal_id}/move-to-partner`
- 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`

Schedule the move at the workspace's period end (default) or run it now. Refused for a partner deal, an unpaid workspace, a pending detach or move, or a partner whose billing is stopped.

## Path parameters

- `deal_id` integer, required

## Request body

- DealMoveToPartner
  - `partner_id` integer, required
  - `price` number, required
  - `billing_interval` string, required
  - `when` 'period_end' | 'now'

## Response `200`

Request fulfilled, document follows

- DealMoveResponse
  - `move` object, nullable

## 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/9d8804f81a10?raw)
