Skip to main content
GET
/
{alias}
/
search
/
carts
Listar Carrinhos Abandonados retornados pela busca
curl --request GET \
  --url https://api.dooki.com.br/v2/{alias}/search/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>",
    "customer": {
      "data": {
        "id": 123,
        "merchant_id": 123,
        "marketplace_id": 123,
        "active": true,
        "type": "<string>",
        "cluster_id": 123,
        "name": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "generic_name": "<string>",
        "cpf": "<string>",
        "spreadsheet": {
          "data": {
            "brands": "<string>",
            "city": "<string>",
            "purchased_brands": "<string>",
            "last_order_date": {
              "date": "2023-11-07T05:31:56Z",
              "timezone_type": 123,
              "timezone": "<string>"
            },
            "last_order_value": "<string>",
            "purchased_categories": "<string>",
            "number": "<string>",
            "uf": "<string>",
            "phone": "(16) 98187-5668",
            "street": "<string>",
            "phone_number": "981875668",
            "categories": "<string>",
            "neighborhood": "<string>",
            "complement": "<string>",
            "phone_code": "16"
          }
        },
        "phone": {
          "area_code": "<string>",
          "full_number": "<string>",
          "number": "<string>",
          "formated_number": "<string>",
          "whatsapp_link": "<string>"
        },
        "razao_social": "<string>",
        "cnpj": "<string>",
        "state_registration": "<string>",
        "email": "jsmith@example.com",
        "birthday": "2023-12-25",
        "newsletter": true,
        "whatsapp": true,
        "social_driver": "<string>",
        "social_id": 123,
        "ip": "<string>",
        "token": "<string>",
        "utm_source": "<string>",
        "utm_campaign": "<string>",
        "notes": "<string>",
        "login_url": "<string>",
        "anonymized": true
      }
    },
    "items": {
      "data": {
        "id": 123,
        "merchant_id": 123,
        "marketplace_id": 123,
        "active": true,
        "type": "<string>",
        "cluster_id": 123,
        "name": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "generic_name": "<string>",
        "cpf": "<string>",
        "spreadsheet": {
          "data": {
            "brands": "<string>",
            "city": "<string>",
            "purchased_brands": "<string>",
            "last_order_date": {
              "date": "2023-11-07T05:31:56Z",
              "timezone_type": 123,
              "timezone": "<string>"
            },
            "last_order_value": "<string>",
            "purchased_categories": "<string>",
            "number": "<string>",
            "uf": "<string>",
            "phone": "(16) 98187-5668",
            "street": "<string>",
            "phone_number": "981875668",
            "categories": "<string>",
            "neighborhood": "<string>",
            "complement": "<string>",
            "phone_code": "16"
          }
        },
        "phone": {
          "area_code": "<string>",
          "full_number": "<string>",
          "number": "<string>",
          "formated_number": "<string>",
          "whatsapp_link": "<string>"
        },
        "razao_social": "<string>",
        "cnpj": "<string>",
        "state_registration": "<string>",
        "email": "jsmith@example.com",
        "birthday": "2023-12-25",
        "newsletter": true,
        "whatsapp": true,
        "social_driver": "<string>",
        "social_id": 123,
        "ip": "<string>",
        "token": "<string>",
        "utm_source": "<string>",
        "utm_campaign": "<string>",
        "notes": "<string>",
        "login_url": "<string>",
        "anonymized": true,
        "date": "2000-08-17 10:24:24",
        "timezone_type": 3,
        "timezone": "America/Sao_Paulo",
        "sku": {
          "data": {
            "active": "?active=0",
            "brand_id": "?brand_id[]=3&brand_id[]=5",
            "category_id": "?category_id[]=8&category_id[]=12",
            "flag_id": "?flag_id[]=2&flag_id[]=4",
            "collection_id": "?collection_id[]=1&collection_id[]=3",
            "priority": "?priority[]=1",
            "q": "?q=nome-do-produto",
            "quality": "?quality=with_images",
            "id": 123,
            "product_id": 123,
            "seller_id": 123,
            "sku": "SKU-TEST-API",
            "token": "<string>",
            "erp_id": "01-753-Rose",
            "blocked_sale": false,
            "barcode": "barcode-test",
            "title": "Produto X - Variação 030303 Amarelo",
            "allow_sell_without_customization": true,
            "price_cost": 123,
            "price_sale": 123,
            "price_discount": 123,
            "combinations": [
              "<string>"
            ],
            "weight": 123,
            "height": 123,
            "width": 123,
            "length": 123,
            "quantity_managed": true,
            "availability": 123,
            "availability_soldout": 123,
            "order": 123
          }
        }
      }
    },
    "transactions": {
      "data": {
        "id": 123,
        "customer_id": 123,
        "payment_id": 123,
        "affiliation_id": 123,
        "marketplace_id": 123,
        "marketplace_account_id": 123,
        "authorized": true,
        "captured": true,
        "cancelled": true,
        "can_be_captured": true,
        "can_be_cancelled": true,
        "gateway_transaction_id": 123,
        "gateway_order_id": 123,
        "gateway_authorization_code": "<string>",
        "gateway_billet_id": 123,
        "amount": 123,
        "buyer_amount": 123,
        "installment_value": 123,
        "buyer_installment_value": 123,
        "installments": 123,
        "installment_formated": "<string>",
        "buyer_installment_formated": "<string>",
        "status": "<string>",
        "error_message": "<string>",
        "bank_name": "<string>",
        "bank_alias": "<string>",
        "truncated_card": "<string>",
        "holder_name": "<string>",
        "holder_document": "<string>",
        "billet_url": "<string>",
        "billet_barcode": "<string>",
        "billet_date": "<string>",
        "billet_our_number": "<string>",
        "billet_document_number": "<string>",
        "billet_whatsapp_link": "<string>",
        "antifraud_sale_id": 123,
        "antifraud_status": "<string>",
        "antifraud_score": "<string>",
        "sent_to_antifraud": "<string>",
        "total_logs": 123,
        "error_code": 123,
        "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"
        },
        "capture_date": {
          "date": "2000-08-17 10:24:24",
          "timezone_type": 3,
          "timezone": "America/Sao_Paulo"
        },
        "authorized_at": {
          "date": "2000-08-17 10:24:24",
          "timezone_type": 3,
          "timezone": "America/Sao_Paulo"
        },
        "captured_at": {
          "date": "2000-08-17 10:24:24",
          "timezone_type": 3,
          "timezone": "America/Sao_Paulo"
        },
        "cancelled_at": {
          "date": "2000-08-17 10:24:24",
          "timezone_type": 3,
          "timezone": "America/Sao_Paulo"
        },
        "payment": {
          "data": {
            "id": 123,
            "alias": "<string>",
            "name": "<string>",
            "has_config": true,
            "active_config": true,
            "is_credit_card": true,
            "is_deposit": true,
            "is_billet": true,
            "is_pix": true,
            "is_pix_in_installments": true,
            "is_wallet": true,
            "icon_url": "<string>"
          }
        },
        "metadata": [
          {
            "key": "discount_highlight",
            "value": "pix"
          }
        ]
      }
    },
    "payment": {
      "data": {
        "id": 123,
        "alias": "<string>",
        "name": "<string>",
        "has_config": true,
        "active_config": true,
        "is_credit_card": true,
        "is_deposit": true,
        "is_billet": true,
        "is_pix": true,
        "is_pix_in_installments": true,
        "is_wallet": true,
        "icon_url": "<string>"
      }
    },
    "metadata": {
      "data": [
        {
          "key": "discount_highlight",
          "value": "pix"
        }
      ]
    },
    "spreadsheet": {
      "data": {
        "customer_phone": "12991008531",
        "last_order_date": "2025-03-17",
        "products": "Produto de teste",
        "products_skus": "121313132",
        "categories": "Categoria teste com produtos,Categoria Herdeira",
        "brands": "Victoria's Secret",
        "purchase_url": "https://seguro.henriquerocha.com/cart?cart_token=6290b260-f531-11ef-9db0-f3f83349fc6d&utm_source=Planilha&utm_campaign=Carrinho Abandonado&forceCheckout=1&skipToCheckout=1&store_token=52c241f0b6247c028c49d8fe020184e240d35baf&forceLogout=1",
        "abandoned_step": "shippment",
        "count_recover_mail_sent": "0/4"
      }
    },
    "search": {
      "data": {
        "has_shipment_service": true,
        "has_address": true,
        "has_customer": true,
        "has_refused_payment": false,
        "abandoned_step": "shippment",
        "count_recover_mail_sent": 0,
        "created_at": "2025-03-17",
        "updated_at": "2025-03-17"
      }
    },
    "emails": {
      "data": [
        {
          "id": 123,
          "cart_id": 123,
          "promocode_id": 123,
          "turn": 123,
          "email": "jsmith@example.com",
          "subject": "<string>",
          "fire_date": "2025-03-17 11:53:41",
          "sent_at": null,
          "created_at": "2025-03-17 11:38:51",
          "updated_at": "2025-03-17 11:38:51"
        }
      ]
    }
  }
}

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

Response

Lista de carrinhos através da busca

data
Carrinho · object

Detalhes de um carrinho