Interface GraphQLDuplicatePriceScopeError

All Superinterfaces:
GraphQLErrorObject

public interface GraphQLDuplicatePriceScopeError extends GraphQLErrorObject

Returned when a Price scope conflicts with an existing one during an Update Product request.

Every Price of a Product Variant must have a distinct combination of currency, Customer Group, country, and Channel that constitute the scope of a Price.


Example to create an instance using the builder pattern

     GraphQLDuplicatePriceScopeError graphQLDuplicatePriceScopeError = GraphQLDuplicatePriceScopeError.builder()
             .conflictingPrice(conflictingPriceBuilder -> conflictingPriceBuilder)
             .build()