Using config parameters in impex file

We need use processor in our impex file for accessing config settings like below.

UPDATE GenericItem[processor=de.hybris.platform.commerceservices.impex.impl.ConfigPropertyImportProcessor]; pk[unique=true]
$configvar = $config-db.port

UPDATE MyItem; name[unique=true]
             ; $configvar

Disable interceptors for impex

We can disable interceptors while importing impex files.

REMOVE Order[disable.interceptor.beans='orderPrepareInterceptor']; pk[unique = true]
; 1234567891234

INSERT_UPDATE Order[disable.interceptor.beans='orderPrepareInterceptor']; code[unique = true]
; order-123

Delete all item by type

You can delete all item by type with impex. Below example removing all stock levels.

REMOVE StockLevel[batchmode=true];itemType(code)[unique=true]
;StockLevel