Referência da API
- Introdução
- Autenticação
- Catálogo
- Checkout
- Configurações
- Conteúdo
- Clientes
- Cliente
- Clusters
- Regras de frete dos clusters
- Endereços
- Leads
- Logística
- Marketing
- Pedidos
- Sistema
- Promoções
- Filas
- Usuários
- Webhooks
- Loja Virtual
Cliente
Listar carrinhos abandonados de um cliente
Obtém uma lista de carrinhos abandonados de um cliente específico
GET
/
{alias}
/
customers
/
{id}
/
carts
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/customers/{id}/carts \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"merchant_id": "1",
"customer_id": 123,
"token": "<string>",
"shipment_service_id": 123,
"payment_alias": "<string>",
"has_recommendation": true,
"is_upsell": true,
"total_transactions": 123,
"simulate_url": "<string>",
"unauth_simulate_url": "<string>",
"totalizers": {
"total_items": "<string>",
"subtotal": 123,
"discount": 123,
"shipment": 123,
"shipment_original_value": 123,
"shipment_discount_value": 123,
"shipment_discount_percent": "<string>",
"promocode_discount_value": 123,
"combos_discount_value": 123,
"total": 123,
"subtotal_formated": "<string>",
"discount_formated": "<string>",
"total_formated": "<string>",
"shipment_formated": "<string>"
},
"tracking_data": {
"name": "<string>",
"email": "jsmith@example.com"
},
"utm_source": "<string>",
"utm_campaign": "<string>",
"utm_medium": "<string>",
"utm_term": "<string>",
"utm_content": "<string>",
"last_transaction_status": "<string>"
}
]
}
Response
200
application/json
Lista de carrinhos abandonados
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.dooki.com.br/v2/{alias}/customers/{id}/carts \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>'
{
"data": [
{
"id": 123,
"merchant_id": "1",
"customer_id": 123,
"token": "<string>",
"shipment_service_id": 123,
"payment_alias": "<string>",
"has_recommendation": true,
"is_upsell": true,
"total_transactions": 123,
"simulate_url": "<string>",
"unauth_simulate_url": "<string>",
"totalizers": {
"total_items": "<string>",
"subtotal": 123,
"discount": 123,
"shipment": 123,
"shipment_original_value": 123,
"shipment_discount_value": 123,
"shipment_discount_percent": "<string>",
"promocode_discount_value": 123,
"combos_discount_value": 123,
"total": 123,
"subtotal_formated": "<string>",
"discount_formated": "<string>",
"total_formated": "<string>",
"shipment_formated": "<string>"
},
"tracking_data": {
"name": "<string>",
"email": "jsmith@example.com"
},
"utm_source": "<string>",
"utm_campaign": "<string>",
"utm_medium": "<string>",
"utm_term": "<string>",
"utm_content": "<string>",
"last_transaction_status": "<string>"
}
]
}