Preview

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

CartValidationDetail

Represents the validations details of item/cart

This page contains

    Fields

    code: String

    Represents the validation error code.

    itemId: ID

    Represents the id of the item for which validation error occurred.

    message: String

    Represents the detailed information of the validation error.

    messageParameters: [CartValidationMessageParameter!] PREVIEW

    Provides reason for failure on each field in the form.

    Parent objects of CartValidationDetail

    CartValidation PREVIEW

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

    DetailedUserError PREVIEW

    Represents the specific error details

    Queries for CartValidationDetail

    cartValidation PREVIEW

    Query for the validation of cart items.