Request body schema for POST /management/v1/projects/{projectId}/stacking-rules
.
Name | Type | Description | Notes |
---|---|---|---|
exclusive_categories | List[str] | Lists the IDs of the categories that are exclusive. | [optional] |
joint_categories | List[str] | Lists the IDs of the categories that are joint. | [optional] |
redeemables_limit | int | Defines how many redeemables can be sent to Voucherify for validation at the same time. | [optional] |
applicable_redeemables_limit | int | Defines how many redeemables can be applied at the same time. The number must be less than or equal to `"redeemables_limit"`. | [optional] |
applicable_redeemables_per_category_limit | int | Defines how many redeemables with the same category can be applied at the same time. The number must be less than or equal to `"applicable_redeemables_limit"`. | [optional] |
applicable_exclusive_redeemables_limit | int | Defines how many redeemables with an assigned exclusive category can be applied at the same time. | [optional] |
applicable_exclusive_redeemables_per_category_limit | int | Defines how many exclusive redeemables with the same category can be applied at the same time. The number must be less than or equal to `"applicable_exclusive_redeemables_limit"`. | [optional] |
discount_calculation_mode | str | Defines if the discounts are applied by taking into account the initial order amount or the discounted order amount. | [optional] |
initial_amount_mode_categories | List[str] | Lists the IDs of the categories that apply a discount based on the initial amount. | [optional] |
discounted_amount_mode_categories | List[str] | Lists the IDs of the categories that apply a discount based on the discounted amount. | [optional] |
redeemables_application_mode | str | Defines the application mode for redeemables. `"ALL"` means that all redeemables must be validated for the redemption to be successful. `"PARTIAL"` means that only those redeemables that can be validated will be redeemed. The redeemables that fail validaton will be skipped. | [optional] |
redeemables_sorting_rule | str | Defines the sorting rule for redeemables. `"CATEGORY_HIERARCHY"` means that redeemables are applied with the order established by the hierarchy of the categories. `"REQUESTED_ORDER"` means that redeemables are applied with the order established in the request. | [optional] |