Entrar

Reward: Buscar por hash

GET https://{organization}.myguper.com/api/loyalty/reward/{hash}

Retorna a promessa de reward associada a um hash/confirmToken — a resposta originalmente produzida por Buscar ou Acúmulo por pedido.

Útil para ressincronizar o estado local da integração quando a resposta cacheada se perdeu ou expirou.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header. Endpoints that support a Public mode (e.g. acúmulo and resgate previews) accept the same request without the header — Private mode adds customer data and a confirmation token to the response.

Cabeçalhos

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

Parâmetros do caminho

Name Type Description
hash * string Confirmation token of the promise to retrieve.

Respostas

Copied to clipboard