Interface DuplicatePriceScopeError

All Superinterfaces:
ErrorObject
All Known Implementing Classes:
DuplicatePriceScopeErrorImpl

public interface DuplicatePriceScopeError extends ErrorObject

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

     DuplicatePriceScopeError duplicatePriceScopeError = DuplicatePriceScopeError.builder()
             .message("{message}")
             .conflictingPrice(conflictingPriceBuilder -> conflictingPriceBuilder)
             .build()