Interface GraphQLMaxStoreReferencesReachedError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLMaxStoreReferencesReachedError extends GraphQLErrorObject

Returned when a Store cannot be added to a Cart Discount as the limit for Stores configured for a Cart Discount has been reached.

The error is returned as a failed response to:

  • Create CartDiscount and Create CartDiscount in Store requests
  • Add Store and Set Store update actions

Example to create an instance using the builder pattern

     GraphQLMaxStoreReferencesReachedError graphQLMaxStoreReferencesReachedError = GraphQLMaxStoreReferencesReachedError.builder()
             .build()