Typescript SDK Type Docs
    Preparing search index...

    Interface GraphQLMaxDiscountGroupsReachedError

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

    The error is returned as a failed response to:
    
    - [Create DiscountGroup](ctp:api:endpoint:/{projectKey}/discount-groups:POST) request
    - [Set IsActive](ctp:api:type:DiscountGroupSetIsActiveAction) update action
    
    interface GraphQLMaxDiscountGroupsReachedError {
        code: "MaxDiscountGroupsReached";
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    Properties

    code: "MaxDiscountGroupsReached"

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