Consultar o funil do checkout
GET
/api/seller/external/v1/report/checkout-funnel
curl --request GET \ --get "https://api.spelt.com.br/api/seller/external/v1/report/checkout-funnel?period=architecto" \ --header "Authorization: Bearer splt_live_SUA_CHAVE" \ --header "Content-Type: application/json" \ --header "Accept: application/json"const url = new URL( "https://api.spelt.com.br/api/seller/external/v1/report/checkout-funnel");
const params = { "period": "architecto",};Object.keys(params) .forEach(key => url.searchParams.append(key, params[key]));
const headers = { "Authorization": "Bearer splt_live_SUA_CHAVE", "Content-Type": "application/json", "Accept": "application/json",};
fetch(url, { method: "GET", headers,}).then(response => response.json());$client = new \GuzzleHttp\Client();$url = 'https://api.spelt.com.br/api/seller/external/v1/report/checkout-funnel';$response = $client->get( $url, [ 'headers' => [ 'Authorization' => 'Bearer splt_live_SUA_CHAVE', 'Content-Type' => 'application/json', 'Accept' => 'application/json', ], 'query' => [ 'period' => 'architecto', ], ]);$body = $response->getBody();print_r(json_decode((string) $body));import requestsimport json
url = 'https://api.spelt.com.br/api/seller/external/v1/report/checkout-funnel'params = { 'period': 'architecto',}headers = { 'Authorization': 'Bearer splt_live_SUA_CHAVE', 'Content-Type': 'application/json', 'Accept': 'application/json'}
response = requests.request('GET', url, headers=headers, params=params)response.json()Funil de conversão do checkout da Loja do Seller autenticado.
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”period
Período. Valores: last_7d, last_30d, last_90d, this_month, all_time. Padrão: last_30d.
string
Período. Valores: last_7d, last_30d, last_90d, this_month, all_time. Padrão: last_30d.
Responses
Seção intitulada “Responses”Media typeapplication/json
object
data
object
period
object
from
string
to
string
label
string
funnel
Array<object>
object
key
string
label
string
count
integer
pct_of_started
integer
pct_of_prev
string | null
kpis
object
started
integer
converted
integer
conversion_rate
number
paid
integer
failed
integer
abandoned
integer
by_device
array
by_payment_method
array
validation_hotspots
Array<object>
object
field
string
count
integer
Example
{ "data": { "period": { "from": "2026-07-13", "to": "2026-08-12", "label": "Últimos 30 dias" }, "funnel": [ { "key": "started", "label": "Iniciaram o checkout", "count": 120, "pct_of_started": 100, "pct_of_prev": null } ], "kpis": { "started": 120, "converted": 38, "conversion_rate": 31.7, "paid": 25, "failed": 6, "abandoned": 82 }, "by_device": [], "by_payment_method": [], "validation_hotspots": [ { "field": "card_number", "count": 14 } ] }}