CartValidationInput is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.


Represents the parameters required for posting cart validations

This page contains


    cartId ID!

    Represents the cart id required for validation

    itemIds [ID!]

    Represents the array of item IDs in the cart

    level CartValidationLevel! PREVIEW

    Represents the level of validation: PRE_FINALIZE or PREVENT_FINALIZE

    locale Locale

    Represent the locale in which validation needs to be triggered, if not provided cart locale will be used

    Mutations for CartValidationInput

    validateCart PREVIEW

    Post the cart validations to the validation engine.