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


Contains validation information which can be used to display on the UI

This page contains


    id: ID!

    Represents the unique identifier for the validation.

    blockingErrors: [CartValidationDetail!]! PREVIEW

    Represents the validation errors array of the cart.

    createdOn: DateTime!

    Represents the unique timestamp when the information was created.

    pendingValidations: [String!]!

    Represents the in progress validation array of the cart.

    warnings: [CartValidationDetail!]! PREVIEW

    Represents the blocking errors array but of lower priority.

    info: [CartValidationDetail!]! PREVIEW

    Represents the information of the validations.

    Mutations for CartValidation

    validateCart PREVIEW

    Post the cart validations to the validation engine.

    Queries for CartValidation

    cartValidation PREVIEW

    Query for the validation of cart items.