Pular para o conteúdo

Hotmart - Checkout

Eventos da família checkout.* na integração Hotmart.

Veja também Estrutura geral dos eventos Checkout para referência completa.

Eventos Disponíveis

  • checkout.abandoned

Estrutura do Payload

{
"customer": {
"id": null,
"name": "João Silva",
"email": "[email protected]",
"document": null,
"phone_numbers": [
{
"formatted_phone": "+5511999999999",
"type": null,
"raw_number": "11999999999",
"area_code": "11",
"international_dialing_code": null
}
],
"address": {
"street": null,
"number": null,
"complement": null,
"neighborhood": null,
"city": null,
"state": null,
"country": null,
"postal_code": null
}
},
"checkout": {
"id": "abc123",
"url": null
},
"payment": {
"currency": null,
"total": null,
"discount_value": null,
"shipping_value": null,
"total_products_value": null,
"payment_method": null,
"coupons": []
},
"shipping": {
"carrier": null,
"total_value": null,
"tracking_url": null,
"tracking_code": null,
"method": null,
"delivery_address": {
"street": null,
"number": null,
"complement": null,
"city": null,
"state": null,
"postal_code": null
},
"estimated_delivery_date": null,
"estimated_delivery_time_in_days": null,
"status": null,
"raw_status": null
},
"products": [
{
"id": "prod_789",
"name": "Curso Online",
"type": "product",
"offer_type": "main",
"quantity": 1,
"unit_value": null,
"total_value": null,
"image_url": null
}
],
"lead_tracking": {
"src": null,
"sck": null,
"utm_source": null,
"utm_campaign": null,
"utm_medium": null,
"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": null
}
}

Componentes do Payload

Customer

Informações do cliente.

CampoTipoDescricao
idnullSempre null - Hotmart nao fornece ID do cliente
namestring | nullNome completo do cliente
emailstring | nullE-mail do cliente
documentstring | nullCPF ou CNPJ do cliente
phone_numbersPhone[] | nullColecao de telefones do cliente
addressAddressEndereco do cliente

Address

Endereco do cliente.

CampoTipoDescrição
streetstring | nullLogradouro
numberstring | nullNúmero
complementstring | nullComplemento
neighborhoodstring | nullBairro
citystring | nullCidade
statestring | nullEstado/UF
countrystring | nullPaís
postal_codestring | nullCEP

Phone

Telefone do cliente. Hotmart pode enviar ate dois telefones (phone_number e phone_checkout_number).

CampoTipoDescrição
formatted_phonestring | nullTelefone formatado em E.164
typenullSempre null
raw_numberstring | nullNúmero sem formatação
area_codestring | nullCódigo de área (DDD)
international_dialing_codenullSempre null

Checkout

Dados do checkout.

Informações do checkout.

CampoTipoDescrição
idnullSempre null
urlnullSempre null

Payment

Dados financeiros (checkout abandonado tem poucos dados).

CampoTipoDescrição
currencystring | nullMoeda em formato ISO 4217
totalinteger | nullValor total em centavos
discount_valuenullSempre null
shipping_valuenullSempre null
total_products_valueinteger | nullValor total dos produtos em centavos
payment_methodobject | nullMétodo de Pagamento
couponsarrayArray vazio (não suportado)

Shipping

Informações de envio.

Informações de envio. Como a Hotmart é focada em produtos digitais, a maioria dos campos será null.

CampoTipoDescrição
carriernullSempre null
total_valuenullSempre null
tracking_codenullSempre null
methodnullSempre null
delivery_addressobjectEndereço de entrega
estimated_delivery_datenullSempre null
estimated_delivery_time_in_daysnullSempre null
statusnullSempre null
raw_statusnullSempre null

Delivery Address

Endereço de entrega.

CampoTipoDescrição
streetstring | nullLogradouro
numberstring | nullNúmero
complementstring | nullComplemento
citystring | nullCidade
statestring | nullEstado/UF
postal_codestring | nullCEP

Product

Produtos no checkout (array).

CampoTipoDescrição
idstring | nullID do produto
namestring | nullNome do produto
typestringTipo: product
offer_typestringTipo de oferta: main, order_bump
quantityinteger | nullQuantidade
unit_valueinteger | nullValor unitário em centavos
total_valueinteger | nullValor total em centavos
image_urlstring | nullURL da imagem

LeadTracking

Dados de rastreamento.

CampoTipoDescrição
srcstring | nullFonte genérica
sckstring | nullCódigo de rastreamento interno
utm_sourcenullSempre null
utm_campaignnullSempre null
utm_mediumnullSempre null
utm_contentnullSempre null
utm_termnullSempre null
utm_idnullSempre null
meta_fbpnullSempre null
google_ga_idnullSempre null
google_gclidnullSempre null
google_gclsrcnullSempre null
google_dclidnullSempre null
google_gbraidnullSempre null
google_wbraidnullSempre null
tiktok_ttlidnullSempre null
ipnullSempre null

Voltar para visão geral da integração