Skip to main content
The _validations line item property is a JSON-encoded object that Supercycle’s cart validation reads to enforce rules at checkout. Several validations merge into one object, and only the keys relevant to that line item are present.
Example

Validations

object
Checks that the customer has enough membership credits to complete the rental.
object
Checks that a specific variant, such as a deposit, is in the cart alongside this line item.
object
Checks that the line item’s quantity doesn’t exceed the available inventory.
object
Checks that every rental line item in the cart shares the same value for a property, to stop incompatible options mixing, such as different rental start dates.