---
title: "Criar negociação"
method: POST
path: "/deals"
tags: ["crm-v1-deals"]
---

# Criar negociação

`POST /deals`

## Request

- Base URL: `https://crm.rdstation.com/api/v1`
- URL: `https://crm.rdstation.com/api/v1/deals`
- Auth: API key in query parameter `token`

Criar negociação

## Request body

- object
  - `campaign` object
    - `_id` string
  - `contacts` object[]
    - `birthday` object
      - `day` number
      - `month` number
      - `year` number
    - `emails` object[]
      - `email` string
    - `facebook` string
    - `legal_bases` object[]
      - `category` string
      - `status` string
      - `type` string
    - `linkedin` string
    - `name` string
    - `phones` object[]
      - `phone` string
      - `type` string
    - `skype` string
    - `title` string
  - `deal` object
    - `deal_custom_fields` object[]
      - `custom_field_id` string
      - `value` union
        - string
        - string[]
    - `deal_stage_id` string
    - `name` string
    - `prediction_date` string, date, nullable
    - `rating` number
    - `user_id` string
  - `deal_products` object[]
    - `amount` number
    - `base_price` number
    - `description` string
    - `discount_type` string
    - `name` string
    - `price` number
    - `recurrence` string
    - `total` number
  - `deal_source` object
    - `_id` string
  - `distribution_settings` object
    - `owner` object
      - `email` string
      - `id` string
      - `type` string
  - `organization` object
    - `_id` string

## Response `200`

Success

- object
  - `_id` string
  - `amount_montly` number
  - `amount_total` number
  - `amount_unique` number
  - `best_moment_to_touch` boolean
  - `c_cf_errors` object
  - `campaign` object
    - `_id` string
    - `id` string
    - `name` string
  - `campaign_id` string
  - `closed_at` string, date-time, nullable
  - `contact_errors` object
  - `created_at` string
  - `deal_custom_fields` object[]
    - `created_at` string, date-time, nullable
    - `custom_field` object
      - `_id` string
      - `allow_new` boolean
      - `created_at` string
      - `for` string
      - `instance_id` string
      - `label` string
      - `opts` string[]
      - `order` number
      - `required` boolean
      - `type` string
      - `unique` boolean
      - `updated_at` string
      - `visible` boolean
    - `custom_field_id` string
    - `updated_at` string, date-time, nullable
    - `value` union
      - string
      - string[]
  - `deal_lost_reason_id` string, nullable
  - `deal_products` object[]
    - `_id` string
    - `amount` number
    - `base_price` number
    - `created_at` string
    - `description` string
    - `discount` number
    - `discount_type` string
    - `id` string
    - `name` string
    - `price` number
    - `product_id` string
    - `recurrence` string
    - `total` number
    - `updated_at` string
  - `deal_source` object
    - `_id` string
    - `id` string
    - `name` string
  - `deal_source_id` string
  - `deal_stage` object
    - `_id` string
    - `deal_pipeline_id` string
    - `id` string
    - `name` string
    - `nickname` string
  - `deal_stage_histories` object[]
    - `_id` string
    - `deal_stage_id` string
    - `end_date` string, date-time, nullable
    - `id` string
    - `start_date` string
  - `errors` object
  - `from_rdsm_integration` boolean
  - `hold` boolean, nullable
  - `id` string
  - `interactions` number
  - `last_note_content` string, nullable
  - `name` string
  - `organization` object
    - `_id` string
    - `address` string, nullable
    - `address_latitude` string, nullable
    - `address_longitude` string, nullable
    - `id` string
    - `name` string
    - `organization_custom_fields` unknown[]
      - unknown
    - `organization_segments` unknown[]
      - unknown
    - `resume` string, nullable
    - `url` string, nullable
    - `visible` boolean
  - `prediction_date` string, date, nullable
  - `rating` number
  - `stop_time_limit` object
    - `expiration_date_time` string
    - `expired` boolean
    - `expired_days` number
  - `updated_at` string
  - `user` object
    - `_id` string
    - `id` string
    - `name` string
  - `win` boolean, nullable

---

[API](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1.md) - [All operations](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/revisions/f83861e0c857?raw)
