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

    Interface StoreCartDiscountsLimitReachedError

    Returned when a Cart Discount cannot be created or assigned to a Store as the limit for active Cart Discounts in a Store has been reached for one or more Stores in the request.

    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
    - [Add Store](ctp:api:type:CartDiscountAddStoreAction) and [Set Store](ctp:api:type:CartDiscountSetStoresAction) update actions
    
    interface StoreCartDiscountsLimitReachedError {
        code: "StoreCartDiscountsLimitReached";
        message: string;
        stores: StoreKeyReference[];
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    Properties

    code: "StoreCartDiscountsLimitReached"

    Error identifier.

    message: string

    "Maximum number of active cart discounts reached for $stores."

    Stores for which the limit for active Cart Discounts that can exist has been reached.