Assiny - Checkout
Eventos da família checkout.* na integração Assiny.
Eventos Disponíveis
| Evento | Descrição |
|---|---|
checkout.abandoned | Checkout abandonado |
[!NOTE] O evento
checkout.abandonedindica que o cliente iniciou o checkout mas não completou o pagamento.
Estrutura do Payload
{ "customer": { "id": "cli_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": "BR", "postal_code": "01000-000" } }, "checkout": { "id": null, "url": null }, "shipping": { "carrier": null, "total_value": null, "tracking_url": null, "tracking_code": null, "method": null, "delivery_address": null, "estimated_delivery_date": null, "estimated_delivery_time_in_days": null, "status": null, "raw_status": null }, "lead_tracking": { "src": "facebook", "sck": null, "utm_source": "facebook", "utm_campaign": "black_friday", "utm_medium": "cpc", "utm_content": null, "utm_term": null, "utm_id": null, "meta_fbp": "fb.1.1234567890", "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 (tenta full_name, depois first_name + last_name) |
email | string | null | E-mail do cliente |
document | string | null | CPF ou CNPJ do cliente |
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 |
neighborhood | string | null | Bairro |
city | string | null | Cidade |
state | string | null | Estado/UF |
country | string | null | Pais |
postal_code | string | null | CEP |
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 |
Checkout (Vazio)
| Campo | Tipo | Descrição |
|---|---|---|
id | null | Sempre null |
url | null | Sempre null |
[!NOTE] Essa integração não disponibiliza informações de checkout.
Shipping (Vazio)
| Campo | Tipo | Descrição |
|---|---|---|
carrier | null | Sempre null |
total_value | null | Sempre null |
tracking_url | null | Sempre null |
tracking_code | null | Sempre null |
method | null | Sempre null |
delivery_address | [EmptyAddress] | Endereço vazio |
estimated_delivery_date | null | Sempre null |
estimated_delivery_time_in_days | null | Sempre null |
status | null | Sempre null |
raw_status | null | Sempre null |
Delivery Address (Vazio)
| Campo | Tipo | Descrição |
|---|---|---|
street | null | Sempre null |
number | null | Sempre null |
complement | null | Sempre null |
neighborhood | null | Sempre null |
city | null | Sempre null |
state | null | Sempre null |
country | null | Sempre null |
postal_code | null | Sempre null |
[!NOTE] Essa integração não disponibiliza informações de endereço.
[!NOTE] Essa integração não disponibiliza informações de envio.
LeadTracking
| Campo | Tipo | Descricao |
|---|---|---|
src | string | null | Fonte do trafego (data.metadata.url_parameters.src) |
sck | null | Sempre null |
utm_source | string | null | UTM source |
utm_campaign | string | null | UTM campaign |
utm_medium | string | null | UTM medium |
utm_content | string | null | UTM content |
utm_term | string | null | UTM term |
utm_id | null | Sempre null |
meta_fbp | string | null | Facebook Pixel ID |
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 | Endereco IP do cliente |