cURL
curl --request GET \ --url https://api.dooki.com.br/v2/{alias}/leads/{id} \ --header 'User-Secret-Key: <api-key>' \ --header 'User-Token: <api-key>'
{ "id": 123, "merchant_id": "1", "name": "Nome do Lead", "email": "[email protected]", "birthday": "yyyy-mm-dd", "city": "São Paulo", "state": "SP", "genre": "m", "utm_source": "", "utm_campaign": "", "utm_medium": "", "utm_term": "", "utm_content": "", "params": { "foo": "Bar", "param2": "Param2Value" }, "is_customer": "true", "customer_id": "123", "customer_since": "yyyy-mm-dd", "created_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" }, "updated_at": { "date": "2000-08-17 10:24:24", "timezone_type": 3, "timezone": "America/Sao_Paulo" } }
Retorna os detalhes de um lead específico
Alias da loja
ID do lead
Detalhes do lead
Representa um lead da lista de leads
"1"
"Nome do Lead"
"[email protected]"
"yyyy-mm-dd"
"São Paulo"
"SP"
"m"
""
{ "foo": "Bar", "param2": "Param2Value" }
"true"
"123"
Show child attributes
Was this page helpful?