Skip to main content
GET
/
loyalty
/
programs
/
{program_id}
/
rewards
List Program Rewards
curl --request GET \
  --url https://webmaster.zupers.com.br/api/loyalty/v1/loyalty/programs/{program_id}/rewards/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "reward_123456789",
    "name": "Free Burger",
    "description": "One free classic burger from our menu",
    "points_cost": 500,
    "available": true,
    "image": "<string>",
    "category": "Food"
  }
]

Authorizations

Authorization
string
header
required

Use format: Bearer ZsCUqECc9aCQtN5z9z9sTs81933YnklP

Path Parameters

program_id
string
required

Unique loyalty program identifier

Example:

"1474884f79a5ec42bc017be2aac"

Response

Program rewards retrieved successfully

id
string
Example:

"reward_123456789"

name
string
Example:

"Free Burger"

description
string
Example:

"One free classic burger from our menu"

points_cost
integer
Example:

500

available
boolean
Example:

true

image
string<uri> | null
category
string
Example:

"Food"