Skip to content

Rewards

Returns every reward configured for your shop, the things customers can redeem stamps for. Takes no arguments.

Returns a non-null list of non-null Reward objects ([Reward!]!).

FieldTypeDescription
idID!Unique identifier.
nameStringDisplay name (branded/translated).
priceIntCost in stamps.
exchangeTypeStringHow the reward is exchanged.
iconUrlStringIcon URL if set.
query {
rewards {
id
name
price
exchangeType
iconUrl
}
}
{
"data": {
"rewards": [
{
"id": "44",
"name": "Free coffee",
"price": 10,
"exchangeType": "free_product",
"iconUrl": "https://cdn.appydesign.io/icons/coffee.svg"
}
]
}
}

Returns a single reward by its ID.

NameTypeRequiredDescription
idID!YesThe record’s ID.

Returns a Reward object (nullable, null if not found).

FieldTypeDescription
idID!Unique identifier.
nameStringDisplay name (branded/translated).
priceIntCost in stamps.
exchangeTypeStringHow the reward is exchanged.
iconUrlStringIcon URL if set.
query ($id: ID!) {
reward(id: $id) {
id
name
price
exchangeType
}
}
{
"data": {
"reward": {
"id": "44",
"name": "Free coffee",
"price": 10,
"exchangeType": "free_product"
}
}
}