Note: Version v201902 will be sunset soon. All users of those versions must migrate to a newer one.

enum BaseRateError.Reason (v201905)

The reasons for the target error.

Enumeration Description
INVALID_CURRENCY_CODE The currency code is invalid.
PRODUCT_TEMPLATE_ARCHIVED Cannot create or activate a base rate if the product template is archived.
PRODUCT_PACKAGE_ITEM_ARCHIVED Cannot create or activate a product package item base rate if the product package item is archived.
CANNOT_QUERY_ON_MULTIPLE_TYPES The PQL statement can only contain one of productTemplateId, productId or productPackageItemId.
PRODUCT_PACKAGE_RATE_CARD_ASSOCIATION_MISSING Product package must be associated with the rate card of the product package item base rate.

See ProductPackage.rateCardIds.

UNSUPPORTED_OPERATION Indicates that the requested operation is not supported.
PRODUCT_PACKAGE_ACTIVE Cannot delete a product package item base rate when its product package is active.
PRODUCT_TEMPLATE_BASE_RATE_NOT_FOUND Cannot create a base rate to a product if its product template does not have a base rate on this rate card.
PRODUCT_BASE_RATE_EXISTS Cannot delete a base rate on a product template if its products still have base rates on this rate card.
INVALID_RATE_CARD_CHANNEL Marketplace rate cards should only have Marketplace Product/ProductTemplate base rates. Non-Marketplace rate cards should use traditional base rates.
ZERO_MARKETPLACE_RATE_NOT_SUPPORTED Marketplace does not support base rates with zero-value rates.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.