List rewards
GET/v1/rewards
Returns the rewards catalog: every points reward. It is the same for every member. To know what a member can use on a specific cart, call preview; to see rewards a member already holds, read their wallet.
Permissions: Secret key with program:read, or a member token.
Guide
Points and rewardsQuery parameters#
limitinteger1 to 100. Default 25.Min 1Max 100Default 25cursorstringnext_cursorfrom the previous page.
Response fields#
Returns 200 with list of Reward
dataarray of RewardShow attributesReward
idstring (uuid)Send this asreward_idon previews and redemptions.namestringFor exampleFree drip coffee.descriptionstringShort text for the guest.image_urlstring (uri)NullableHTTPS image URL.kindstringpoints(catalog) orwallet(given to one member). May grow.One ofpoints,walletpoints_costintegerPoints the reward costs. Only onpointsrewards; wallet rewards don't have it.discountDiscountShow attributesDiscount
typestringOne ofamount,percent,free_item,bogoamount_centsintegerForamount.percentnumberForpercent.itemsarray of objectItem scope, by Square variation id.Show attributesHide attributes
pos_item_idstringnamestring
categoriesarray of objectCategory scope.Show attributesHide attributes
pos_category_idstringnamestring
max_itemsinteger
rulesRulesShow attributesRules
min_subtotal_centsintegerInteger cents.Min 0channelsarray of stringOne ofapp,weblocation_idsarray of string (uuid)fulfillmentarray of stringOne ofpickup,delivery,curbside,dine_inavailable_timesarray of AvailableTimeShow attributesAvailableTime
daysarray of stringShow valuesHide values
montuewedthufrisatsun
startstringLocal time, HH:MM.endstringLocal time, HH:MM.
tier_idsarray of string (uuid)
starts_atstring (date-time)NullableWhen the reward becomes available.nullmeans it already is.ends_atstring (date-time)NullableWhen it stops being available.nullmeans no end date.
has_morebooleanTrue when another page exists.next_cursorstringNullablePass ascursorto get the next page.
Error descriptions#
400Bad request
invalid_param
limit is outside 1 to 100, or the cursor is not one we issued.
Any endpoint can also return the common errors.