Skip to content

Leads_patch

PATCH
/api/leads/{id}
curl --request PATCH \
--url https://met.cards/api/leads/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "displayName": "example", "email": "[email protected]", "phone": "example", "company": "example", "title": "example", "fields": [ { "id": "example", "kind": "other", "label": "example", "value": "example" } ] }'
id
required
string
Media typeapplication/json
object
displayName
string
>= 1 characters <= 120 characters
email
string format: email
phone
string
<= 40 characters
company
string
nullable <= 120 characters
title
string
nullable <= 120 characters
fields
Array<object>
object
id
string
<= 64 characters
kind
required
string
Allowed values: other email phone website address
label
required
string
<= 40 characters
value
required
string
>= 1 characters <= 500 characters
Media typeapplication/json
object
Examplegenerated
{}