Skip to main content
Rewards are configured by the merchant and can be redeemed by customers using their points. Each reward generates a Shopify discount code on redemption.

Attributes

Flexible config

For flexible rewards, flexible_config defines the range the customer can redeem. Use it to know the valid points range when calling Purchase a reward.

Free product details

For free-product rewards, free_product describes the product the customer receives:

Example

Flexible reward example

A flexible reward reports redemption_mode: "flexible" and a populated flexible_config: