The following list describes some of the validation performed when importing products:
The product ID is valid and not null. Valid characters are alphanumeric, as well as underscore (_) and dash(-).
The
listPrices
andsalePrices
properties are either maps or null. If it is a map, each price corresponding to a price group ID is either a number or null.The
listVolumePrices
andsaleVolumePrices
properties are either a map or null. If it is a map, each price corresponding to a price group ID is either a map or null.The
listPrices
andlistVolumePrices
properties cannot contain a non-null entry for a particular price list group ID i.e. a particular product or SKU cannot have both list and list volume prices for a particularpricelistgroup.
The
salePrices
andsaleVolumePrices
properties cannot contain a non-null entry for a particular price list group ID i.e. a particular product or SKU cannot have both sale and sale volume prices for a particularpricelistgroup.
The
listPrice
, which should be a positive number, should be available for the mandatory price list groups.If a site not account-enabled, the
listPrice
of a product cannot be null.The
listPrice
cannot be less than thesalePrice.
The
shippingSurcharge
should be a positive number.If
categoryId
is null thecategoryItem
property will not be set.The
productImages
property tags should be null or a map and if not null, each of its elements should be an instance of map or string.
The following validations are also performed when importing SKUs:
The corresponding catalog and product IDs should be valid and not null.
The
active
property should be Boolean or String.SKU properties cannot be null, and should be unique. Additionally, the SKU ID should be valid, and a SKU with the same ID cannot pre-exist in the repository.
Inbound SKU data should have all of the mandatory variant properties.
SKUs can be bundled together to create a new SKU. SKU bundles have the following validation:
A SKU cannot be deleted if it is part of a SKU bundle.
You can only bundle one level of SKUs.
A SKU cannot be a member of multiple bundles, and you cannot have bundles referenced within bundles.
SKUs can only be a part of the same bundle once.
For detailed information on working with products and SKUs, refer to Using Oracle Commerce Cloud.