Exporter Configuration
Exporter Configuration
The exporter element specifies the type of object you want to export. See Supported Object Types for the list objects you can export.
To include optional dependencies, add include elements to the exporter element. For example, the following configuration exports products, including their associated assets and product merchandising associations (direct only):
<exporter type="PRODUCT"> <include type="PRODUCTASSOCIATION"> <option key="DIRECT_ONLY" value="true"/commerce-legacy/> </include> <include type="INVENTORY"/commerce-legacy/> <include type="PRICING"/commerce-legacy/> <include type="ASSETS"/commerce-legacy/> </exporter> </exporter>
The type of dependencies you can include depends on the type of object you are exporting. For the list of supported include types, see the description of the include element in Appendix A - Export Configuration.