read_customers scope.
Available only to Shopify merchants
This webhook is triggered only when your reward expiration feature is enabled
Payload
object
required
Customer object with the same shape as the Customers
API
response
string
required
Title of the reward that is to expire
enum<string>
required
The type of the expiring reward. One of:
voucher or gift_cardobject
required
The source informs how the reward was acquired. One of:
customer_redemption
or rule_completion or tier_benefitstring
required
ISO 8601 timestamp of the reward’s approaching expirationenum<string>
required
The type of discount provided. One of:
flat or percentagenumber | null
required
The discount provided by the claimed reward as a decimal value, e.g. $5 will
be
5. Only included if the reward type is voucherstring | null
required
The voucher (coupon) code linked to the claimed reward. Only included if the
reward type is
voucherExample
Example