Create Deal Details
curl --request POST \
  --url https://integration.getmateo.com/api/v1/deal_details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "external_id": "<string>",
  "type_key": "<string>",
  "status_key": "<string>",
  "assignee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "value": 123,
  "currency": "EUR",
  "won_at": "<string>",
  "lost_at": "<string>"
}'
{
  "id": "random uuid",
  "created_at": "now()",
  "updated_at": "now()",
  "organisation_id": "random uuid",
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "external_id": "<string>",
  "type_key": "<string>",
  "status_key": "<string>",
  "assignee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "value": 123,
  "currency": "EUR",
  "won_at": "<string>",
  "lost_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

select
string

Filtering Columns

Body

application/json

deal

id
string<uuid>
default:random uuid
created_at
string<timestamp with time zone>
default:now()
updated_at
string<timestamp with time zone>
default:now()

Latest update

organisation_id
string<uuid>
default:random uuid

Organisation ID

contact_id
string<uuid>

Contact ID

name
string<text>

Name of the deal

external_id
string<text> | null

External ID

type_key
string<text>

Type Key

status_key
string<text>

Status Key

assignee_id
string<uuid> | null

Assignee ID

value
number | null

Value of the deal

currency
enum<string>
default:EUR

Currency of the deal

Available options:
EUR,
CHF,
USD
won_at
string<timestamp with time zone> | null

Won at timestamp

lost_at
string<timestamp with time zone> | null

Lost at timestamp

{key}
Example:

"your string custom field"

Response

The updated Deal object

id
string<uuid>
default:random uuid
created_at
string<timestamp with time zone>
default:now()
updated_at
string<timestamp with time zone>
default:now()

Latest update

organisation_id
string<uuid>
default:random uuid

Organisation ID

contact_id
string<uuid>

Contact ID

name
string<text>

Name of the deal

external_id
string<text> | null

External ID

type_key
string<text>

Type Key

status_key
string<text>

Status Key

assignee_id
string<uuid> | null

Assignee ID

value
number | null

Value of the deal

currency
enum<string>
default:EUR

Currency of the deal

Available options:
EUR,
CHF,
USD
won_at
string<timestamp with time zone> | null

Won at timestamp

lost_at
string<timestamp with time zone> | null

Lost at timestamp

{key}
Example:

"your string custom field"