Parameters
Must be
user.purchaseThe ID of the user. Must be provided in conjunction with either
location_id
or rewards_program_idThe ID of the location where the purchase was made. Must be provided in
conjunction with
user_idThe ID of the rewards program that the user is purchasing under. Useful when
purchases are made at the brand level rather than in-store. Should not be
simultaneously provided with
location_idThe ID of the location member. Can be used instead of a providing a pair of
user_id and location_idThe ID of the rewards program member. Can be used instead of providing a pair
of
user_id and rewards_program_id.The price of the item
Returns
The ID of the event
The name of the event that was captured