Interface GraphQLMissingRoleOnChannelError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLMissingRoleOnChannelError extends GraphQLErrorObject

Returned when one of the following states occur:

  • Channel is added or set on a Store with missing Channel roles.
  • Standalone Price references a Channel that does not contain the ProductDistribution role.

The error is returned as a failed response to:


Example to create an instance using the builder pattern

     GraphQLMissingRoleOnChannelError graphQLMissingRoleOnChannelError = GraphQLMissingRoleOnChannelError.builder()
             .missingRole(ChannelRoleEnum.INVENTORY_SUPPLY)
             .build()