Entrar

Listar níveis de fidelidade (tiers) — faixas de pontos e benefícios

GET https://{organization}.myguper.com/api/register/tier/config

Retorna todas as configurações de programa tier da organização.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Respostas

[
    {
        "id":         1,
        "name":       "Programa Guper",
        "levels": [
            { "id": 1, "name": "Bronze",   "minPoints": 0     },
            { "id": 2, "name": "Silver",   "minPoints": 1000  },
            { "id": 3, "name": "Gold",     "minPoints": 5000  },
            { "id": 4, "name": "Platinum", "minPoints": 15000 }
        ],
        "sources": [
            { "source": "rewardCampaign", "expiresInDays": 365 },
            { "source": "manual",         "expiresInDays": null }
        ],
        "isActive":          true,
        "autoEnrollOnOptIn": false,
        "createdAt":         "2026-01-15T09:00:00-03:00",
        "updatedAt":         "2026-04-20T11:30:00-03:00"
    }
]
Copied to clipboard