curl --request PATCH \
  --url https://integration.getmateo.com/api/v1/deal \
  --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

Select columns to return

id
string
required
created_at
string
updated_at
string

Latest update

organisation_id
string

Organisation ID

contact_id
string

Contact ID

name
string

Name of the deal

external_id
string
required

External ID

type_key
string

Type Key

status_key
string

Status Key

assignee_id
string

Assignee ID

value
string

Value of the deal

currency
string

Currency of the deal

won_at
string

Won at timestamp

lost_at
string

Lost at timestamp

Body

application/json
deal

The body is of type object.

Response

200
application/json
The updated Deal object

The response is of type object.