Sign in

Reward: Find by hash

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

Returns the reward promise associated with a given hash/confirmToken — the response that was originally produced by Search or Reward by Order.

Useful for resyncing the integration's local state when the cached response has been lost or expired.

Try-it values populated from environment ACME (Demo)


Authentication

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.

Headers

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.

Path parameters

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

Responses

Copied to clipboard