Redemptions Redeem Response Body
Redemption
Order Calculated
All of:- Order Response Base
-
Order Calculated
Inapplicable Redeemable
Skipped Redeemable
Order Calculated No Customer Data
All of:- Order Response Base
-
Order Customer And Referrer Ids Objects
Simple Customer
Voucher
-
1Monday -
2Tuesday -
3Wednesday -
4Thursday -
5Friday -
6Saturday | | activeboolean,null| A flag to toggle the voucher on or off. You can disable a voucher even though it’s within the active period defined by thestart_dateandexpiration_date.-trueindicates an active voucher -
falseindicates an inactive voucher | | additional_infostring| An optional field to keep any extra textual information about the code such as a code description and details. | | metadataobject| The metadata object stores all custom attributes assigned to the code. A set of key/value pairs that you can attach to a voucher object. It can be useful for storing additional information about the voucher in a structured format. | | assets | See: Voucher Assets | | is_referral_codeboolean,null| Flag indicating whether this voucher is a referral code;truefor campaign typeREFERRAL_PROGRAM. | | created_atstring| Timestamp representing the date and time when the voucher was created in ISO 8601 format.Example:2021-12-22T10:13:06.487Z | | updated_atstring| Timestamp representing the date and time when the voucher was last updated in ISO 8601 format.Example:2021-12-22T10:14:45.316Z | | holder_idstring| Unique customer ID of voucher owner.Example:cust_eWgXlBBiY6THFRJwX45Iakv4 | | holder | See: Simple Customer | | objectstring| The type of object represented by JSON. Default isvoucher. | | distributionsarray| Array of: | | deletedboolean| Flag indicating whether this voucher is deleted. | | validation_rules_assignments | See: Validation Rules Assignments List | | publishobject| This object stores a summary of publish events: an events counter and an endpoint which can be called to return details of each event. A publication is required for loyalty cards and referral codes. This object gets updated whenever a voucher has been published. Publication means assigning a code to a particular customer. Typically, a publication is made by distributing your codes to your customers, e.g. through Export to MailChimp or publish voucher API method.Required Optionaltype:LOYALTY_CARD type:DISCOUNT_VOUCHER is_referral_code:true type:GIFT_VOUCHERAttributes Descriptionobjectstring The type of object represented is by default list. To get this list, you need to make a call to the endpoint returned in the url attribute. countinteger Publication events counter. Example: 0 urlstring The endpoint where this list of publications can be accessed using a GET method. /v1/vouchers/{voucher_code}/publications Example: /v1/vouchers/WVPblOYX/publications?page=1&limit=10 | | redemptionobject| Stores a summary of redemptions that have been applied to the voucher.Attributes Descriptionquantityinteger How many times a voucher can be redeemed. A null value means unlimited. redeemed_quantityinteger How many times a voucher has already been redeemed. Example: 1 redeemed_amountinteger Total amount redeemed. Value is multiplied by 100 to precisely represent 2 decimal places. For example, $100 balance is written as 10000. Example: 100000 redeemed_pointsinteger Total loyalty points redeemed. Example: 100000 objectstring The type of object represented is by default list. To get this list, you need to make a call to the endpoint returned in the url attribute. urlstring The endpoint where this list of redemptions can be accessed using a GET method. /v1/vouchers/{voucher_code}/redemptions Example: /v1/vouchers/WVPblOYX/redemptions?page=1&limit=10 |
Promotion Tier
-
falseindicates an inactive promotion tier | | start_datestring| Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is inactive before this date.Example:2022-09-23T00:00:00.000Z | | expiration_datestring| Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is inactive after this date.Example:2022-09-26T00:00:00.000Z | | validity_timeframeobject| Set recurrent time periods when the promotion tier is valid. For example, valid for 1 hour every other day.start_daterequired when including thevalidity_timeframe.Attributes Descriptionintervalstring Defines the intervening time between two time points in ISO 8601 format, expressed as a duration. For example, a promotion tier with an interval of P2D will be active every other day. durationstring Defines the amount of time the promotion tier will be active in ISO 8601 format. For example, a promotion tier with a duration of P1D will be valid for a duration of one day. | | validity_day_of_weekarray| Integer array corresponding to the particular days of the week in which the promotion tier is valid.-0Sunday -
1Monday -
2Tuesday -
3Wednesday -
4Thursday -
5Friday -
6Saturday | | summaryobject| Contains statistics about promotion tier redemptions and orders.Attributes Descriptionredemptionsobject Contains statistics about promotion tier redemptions. Attributes Descriptiontotal_redeemedinteger Number of times the promotion tier was redeemed. ordersobject Contains statistics about orders related to the promotion tier. Attributes Descriptiontotal_amountinteger Sum of order totals. total_discount_amountinteger Sum of total discount applied using the promotion tier. | | objectstring| The type of object represented by JSON. This object stores information about the promotion tier. | | validation_rule_assignments | See: Validation Rule Assignments List | | category_idstring| Promotion tier category ID.Example:cat_0c9da30e7116ba6bba | | categoriesarray| Array of Category |
Redemption Reward Result
Order Response Base
Customer With Summary Loyalty Referrals
All of:-
Customer Response Data
- Customer Base
Customer Id
Referrer With Summary Loyalty Referrals
Customer With Summary Loyalty ReferralsReferrer Id
Customer IdError Object
Category
Discount
Contains information about discount. One of: Amount, Unit, Unit Multiple, Percent, FixedVoucher Assets
Validation Rules Assignments List
Validation Rule Assignments List
Product
This is an object representing a product. This entity should be used to map product items from your inventory management system. The aim of products is to build which reflect product-specific campaigns. All of:SKU Object
Order Item Calculated
Order Redemptions
Customer Summary
Customer Loyalty
Customer Referrals
Customer Base
Amount
Unit
Unit Multiple
Percent
Fixed
Business Validation Rule Assignment
Validation Rule Assignment
Product without Skus Object
Skus List For Product
Customer Summary Redemptions
Customer Summary Orders
Discount Amount Vouchers Effect Types
Available values:APPLY_TO_ORDER, APPLY_TO_ITEMS, APPLY_TO_ITEMS_PROPORTIONALLY, APPLY_TO_ITEMS_PROPORTIONALLY_BY_QUANTITY, APPLY_TO_ITEMS_BY_QUANTITY
Discount Unit Vouchers Effect Types
Available values:ADD_MISSING_ITEMS, ADD_NEW_ITEMS, ADD_MANY_ITEMS
Simple Product Discount Unit
Simple Sku Discount Unit
One Unit
Discount Percent Vouchers Effect Types
Available values:APPLY_TO_ORDER, APPLY_TO_ITEMS
Discount Fixed Vouchers Effect Types
Available values:APPLY_TO_ORDER, APPLY_TO_ITEMS