Action Sheet View
| When a Action tab it`s displayed to the user | actionSheetHeader record the component/object name (i.e. “Apply Promo Code”)
currentScreen records the current screen where the Action tab it`s displayed (i.e. “/rewards/offers“)
| |
Action Sheet Submission
| When a Action form it`s submitted | response: records the response "Failed" or “successful“
failureReason reason why the response was failed main reasons it`s "INVALID_CODE" or “EXPIRED_CODE“
submittedData records the data sent in the Action form
| |
Promo Code Applied
| When the Promo Code endpoint in the Loyalty Engine is hit | Duration : The duration in ms of the offer being unlocked when a promo code is sent.
sanityId : The Sanity ID of the offer.
Partner : The “posSystem” of the vendor sending the request. If this request is from RBI to show promo code offer in the app, then partner would be “RBI”.
Status : Successful or Error.
traceId : The tracking_id sent by Voucherify.
ErrorDescription (Only for the Error status): The error that happened.
Error: “Promo Code” not found Error: “Promo code” already used Error: Failed to unlock offer due to a technical issue
| To add when tested in Staging |