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>"
    }
  ]
}

Authorizations

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

Path Parameters

alias
string
required

Alias da loja

id
integer
required

ID do cliente

Response

200
application/json

Lista de carrinhos abandonados

The response is of type object.