This endpoint grants the user a reward associated with the campaign provided.
externalreference
Olo
rewards API attribute) being returned by the Olo API to relevant reward or
points product records in the Thanx API.available
, active
, used
)index.small
) has a set width for all rewards, and the height varies based on the aspect ratio.For example, if you import an image with the dimensions 1000x1000 (aspect ratio of 1:1), then the image for index.small
has the dimensions 563x563 because it matches the original aspect ratio.true
, a unique coupon code will be generated from a coupon pool when the reward is activated. This field is relevant for rewards created from points products or campaigns with dynamic coupon pools.