curl --request POST \
--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>"
}
Create a new deal
curl --request POST \
--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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Filtering Columns
deal
The body is of type object
.
The updated Deal object
The response is of type object
.