@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLMaxCartDiscountsReachedError

    Returned when a Cart Discount cannot be created or activated as the limit for active Cart Discounts has been reached.

    The error is returned as a failed response to:
    
    - [Create CartDiscount](ctp:api:endpoint:/{projectKey}/cart-discounts:POST) and [Create CartDiscount in Store](ctp:api:endpoint:/{projectKey}/in-store/key={storeKey}/cart-discounts:POST) requests
    - [Change IsActive](ctp:api:type:CartDiscountChangeIsActiveAction) update action
    
    interface GraphQLMaxCartDiscountsReachedError {
        code: "MaxCartDiscountsReached";
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    Properties

    code: "MaxCartDiscountsReached"

    One of the error codes that is listed on the Errors page.