curl -u "pb_SEU_TOKEN_PUBLICO:sk_SEU_TOKEN_SECRETO" \
"https://api.sortify.com.br/v1/raffles/a3f1c9e2-5b7d-4e8a-9c01-2d3e4f5a6b7c/presells"
{
"success": true,
"message": "Presells listados com sucesso",
"data": {
"presells": [
{
"id": "9e8d7c6b-5a4f-3e2d-1c0b-a9f8e7d6c5b4",
"type": "iframe",
"title": "Oferta parceira",
"description": null,
"display_order": 0,
"iframe": { "type": "card", "url": "https://presell.cliente.digital/" },
"is_active": true,
"created_at": "2026-07-06T12:00:00.000Z",
"updated_at": "2026-07-06T12:00:00.000Z"
}
]
}
}
Presells
Listar presells
Lista as promoções de presell de uma ação
GET
/
v1
/
raffles
/
{id}
/
presells
curl -u "pb_SEU_TOKEN_PUBLICO:sk_SEU_TOKEN_SECRETO" \
"https://api.sortify.com.br/v1/raffles/a3f1c9e2-5b7d-4e8a-9c01-2d3e4f5a6b7c/presells"
{
"success": true,
"message": "Presells listados com sucesso",
"data": {
"presells": [
{
"id": "9e8d7c6b-5a4f-3e2d-1c0b-a9f8e7d6c5b4",
"type": "iframe",
"title": "Oferta parceira",
"description": null,
"display_order": 0,
"iframe": { "type": "card", "url": "https://presell.cliente.digital/" },
"is_active": true,
"created_at": "2026-07-06T12:00:00.000Z",
"updated_at": "2026-07-06T12:00:00.000Z"
}
]
}
}
Retorna todos os presells da ação (ativos e inativos), ordenados por
display_order. Presells são promoções exibidas na página de seleção do pedido — enquanto o comprador ainda está montando o pedido, antes do pagamento.
Como o presell aparece antes do pedido existir, não há métricas de conversão (diferente dos upsells).
Path params
string
required
ID da ação (UUID).
Resposta
array
Show Campos do presell
Show Campos do presell
string
Identificador único (UUID).
string
simple, custom ou iframe — não existe redirect em presells.string
Título do presell.
string | null
Descrição.
object
Presente apenas no tipo
simple: { button_text, button_url }.object
Presente apenas no tipo
custom: { type, content, url }.object
Presente apenas no tipo
iframe: { type, url }.boolean
Se o presell está ativo.
number
Ordem de exibição (menor = primeiro).
string
Criação (ISO 8601, UTC).
string
Última atualização (ISO 8601, UTC).
Erros
| HTTP | Código | Quando ocorre |
|---|---|---|
404 | RAFFLE_NOT_FOUND | A ação não existe ou pertence a outra conta |
curl -u "pb_SEU_TOKEN_PUBLICO:sk_SEU_TOKEN_SECRETO" \
"https://api.sortify.com.br/v1/raffles/a3f1c9e2-5b7d-4e8a-9c01-2d3e4f5a6b7c/presells"
{
"success": true,
"message": "Presells listados com sucesso",
"data": {
"presells": [
{
"id": "9e8d7c6b-5a4f-3e2d-1c0b-a9f8e7d6c5b4",
"type": "iframe",
"title": "Oferta parceira",
"description": null,
"display_order": 0,
"iframe": { "type": "card", "url": "https://presell.cliente.digital/" },
"is_active": true,
"created_at": "2026-07-06T12:00:00.000Z",
"updated_at": "2026-07-06T12:00:00.000Z"
}
]
}
}