Response body schema for GET /management/v1/projects/{projectId}/stacking-rules/{stackingRulesId}
.
Name | Type | Description | Notes |
---|---|---|---|
id | str | The unique identifier of the stacking rules. | [optional] |
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] |
created_at | datetime | Timestamp representing the date and time when the stacking rules were created. The value for this parameter is shown in the ISO 8601 format. | [optional] |
updated_at | datetime | Timestamp representing the date and time when the stacking rules were updated. The value for this parameter is shown in the ISO 8601 format. | [optional] |