Skip to main content
A JSON-encoded object used by Supercycle’s cart validation to enforce rules at checkout. Multiple validations are merged into a single object — only the relevant keys will be present for a given line item.
Example

Validations

object
Validates that the customer has enough membership credits to complete the rental.
object
Validates that a specific variant (e.g. a deposit) is present in the cart alongside this line item.
object
Validates that the quantity of this line item does not exceed available inventory.
object
Validates that all rental line items in the cart share the same value for a given property. Used to prevent mixing incompatible options (e.g. different rental start dates).