Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 2.81 KB

QualificationsCheckEligibilityRequestBody.md

File metadata and controls

15 lines (12 loc) · 2.81 KB

# QualificationsCheckEligibilityRequestBody

Properties

Name Type Description Notes
customer \OpenAPI\Client\Model\Customer [optional]
order \OpenAPI\Client\Model\Order [optional]
mode string Defines which resources Voucherify will use. The `ADVANCED` mode is available after purchase only. [optional]
tracking_id string Is correspondent to Customer's source_id [optional]
scenario string Defines the scenario Voucherify should consider during the qualification process. - `ALL` - Scenario that returns all redeemables available for the customer in one API request. This scenario is used by default when no value is selected. - `CUSTOMER_WALLET` - returns vouchers applicable to the customer’s cart based on the vouchers assigned to the customer’s profile. - `AUDIENCE_ONLY` - returns all vouchers, promotion tiers, and campaigns available to the customer. Voucherify validates the rules based on the customer profile only. - `PRODUCTS` - returns all promotions available for the products (when a discount is defined to be applied to the item or when the item is required in the validation rule). - `PRODUCTS_DISCOUNT` - returns all promotions available for products when a discount is defined as applicable to specific item(s). - `PROMOTION_STACKS` - returns the applicable promotion stacks. - `PRODUCTS_BY_CUSTOMER` - returns all promotions available for a customer for the products (when a discount is defined to be applied to the item or when the item is required in the validation rule). - `PRODUCTS_DISCOUNT_BY_CUSTOMER` - returns all promotions available for a customer for products when a discount is defined as applicable to specific item(s). [optional]
options \OpenAPI\Client\Model\QualificationsOption [optional]
metadata object A set of key/value pairs that you can send in the request body to check against redeemables requiring redemption metadata validation rules to be satisfied. The validation runs against rules that are defined through the <!-- Create Validation Rules -->Create Validation Rules endpoint or via the Dashboard; in the Advanced Rule Builder &rarr; Advanced &rarr; Redemption metadata satisfy or Basic Builder &rarr; Attributes match &rarr; REDEMPTION METADATA. Read more. [optional]

[Back to Model list] [Back to API list] [Back to README]