Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (28 loc) · 2.47 KB

RedemptionRollback.md

File metadata and controls

31 lines (28 loc) · 2.47 KB

VoucherifySdk::RedemptionRollback

Properties

Name Type Description Notes
id String Unique redemption ID.
object String The type of object represented by the JSON [default to 'redemption_rollback']
date Time Timestamp representing the date and time when the object was created in ISO 8601 format.
customer_id String Unique customer ID of the redeeming customer.
tracking_id String Hashed customer source ID.
metadata Object The metadata object stores all custom attributes assigned to the redemption.
amount Integer A positive integer in the smallest currency unit (e.g. 100 cents for $1.00) representing the total amount of the order. This is the sum of the order items' amounts. [optional]
redemption String Unique redemption ID of the parent redemption.
reason String System generated cause for the redemption being invalid in the context of the provided parameters. [optional]
result String Redemption result.
status String Redemption status.
related_redemptions RedemptionRollbackRelatedRedemptions [optional]
failure_code String If the result is `FAILURE`, this parameter will provide a generic reason as to why the redemption failed. [optional]
failure_message String If the result is `FAILURE`, this parameter will provide a more expanded reason as to why the redemption failed. [optional]
order OrderCalculatedNoCustomerData
channel RedemptionChannel
customer SimpleCustomer
related_object_type String Defines the related object.
related_object_id String Unique related object ID assigned by Voucherify, i.e. v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno for a voucher.
voucher Voucher [optional]
promotion_tier PromotionTier [optional]
reward RedemptionRewardResult [optional]
gift RedemptionGift [optional]
loyalty_card RedemptionLoyaltyCard [optional]