You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The name of the "setDiscount" effect that was rolled back.
value
Float
The value of the discount that was rolled back.
cart_item_position
Float
The index of the item in the cart items for which the discount was rolled back.
[optional]
cart_item_sub_position
Float
For cart items with `quantity` > 1, the subposition returns the index of the item unit in its line item.
[optional]
additional_cost_id
Integer
The ID of the additional cost that was rolled back.
[optional]
additional_cost
String
The name of the additional cost that was rolled back.
[optional]
scope
String
The scope of the rolled back discount - For a discount per session, it can be one of `cartItems`, `additionalCosts` or `sessionTotal` - For a discount per item, it can be one of `price`, `additionalCosts` or `itemTotal`