Bagy - Checkout
Eventos da família checkout.* na integração Bagy.
Eventos Disponiveis
| Evento | Descricao |
|---|---|
checkout.abandoned | Checkout abandonado |
Estrutura do Payload
{ "customer": { "id": "123456", "name": "João Silva", "document": "12345678900", "phone_numbers": [ { "formatted_phone": "+5511999999999", "type": null, "raw_number": "999999999", "area_code": null, "international_dialing_code": null } ], "address": { "street": "Rua Principal", "number": "123", "complement": "Apto 45", "neighborhood": "Centro", "city": "São Paulo", "state": "SP", "country": null, "postal_code": "01000-000" } }, "lead_tracking": { "src": null, "sck": null, "utm_source": "facebook", "utm_campaign": "black_friday", "utm_medium": "cpc", "utm_content": null, "utm_term": null, "utm_id": null, "meta_fbp": null, "google_ga_id": null, "google_gclid": null, "google_gclsrc": null, "google_dclid": null, "google_gbraid": null, "google_wbraid": null, "tiktok_ttlid": null, "ip": "189.123.45.67" }}Componentes do Payload
Customer
| Campo | Tipo | Descricao |
|---|---|---|
id | string | null | ID do cliente |
name | string | null | Nome completo |
email | string | null | E-mail do cliente |
document | string | null | CPF ou CNPJ (busca em doc e cgc) |
phone_numbers | Phone[] | null | Colecao de telefones do cliente |
address | Address | Endereco do cliente |
Address
| Campo | Tipo | Descricao |
|---|---|---|
street | string | null | Logradouro |
number | string | null | Numero |
complement | string | null | Complemento (detail) |
neighborhood | string | null | Bairro (district) |
city | string | null | Cidade |
state | string | null | Estado/UF |
country | null | Sempre null |
postal_code | string | null | CEP (zipcode) |
Phone
Telefone do cliente.
| Campo | Tipo | Descrição |
|---|---|---|
formatted_phone | string | null | Telefone formatado em E.164 |
type | null | Sempre null |
raw_number | string | null | Número sem formatação |
area_code | null | Sempre null |
international_dialing_code | null | Sempre null |
LeadTracking
| Campo | Tipo | Descricao |
|---|---|---|
src | null | Sempre null |
sck | null | Sempre null |
utm_source | string | null | UTM source (data.extra.utm.utm_source) |
utm_campaign | string | null | UTM campaign (data.extra.utm.utm_campaign) |
utm_medium | string | null | UTM medium (data.extra.utm.utm_medium) |
utm_content | null | Sempre null |
utm_term | null | Sempre null |
utm_id | null | Sempre null |
meta_fbp | null | Sempre null |
google_ga_id | null | Sempre null |
google_gclid | null | Sempre null |
google_gclsrc | null | Sempre null |
google_dclid | null | Sempre null |
google_gbraid | null | Sempre null |
google_wbraid | null | Sempre null |
tiktok_ttlid | null | Sempre null |
ip | string | null | IP do cliente (data.extra.customer_ip) |