Entrar

Reward: Buscar por hash

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

Devuelve la promesa de reward asociada a un hash/confirmToken — la respuesta originalmente producida por Buscar o Acumulación por pedido.

Útil para resincronizar el estado local de la integración cuando la respuesta en caché se perdió o expiró.

Try-it values populated from environment ACME (Demo)


Autenticación

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.

Encabezados

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 de ruta

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

Respuestas

Copied to clipboard