Skip to main content

Import/Export product and pricing data using XML

Import/Export product and pricing data using XML

Last updated: 30-Apr-2018
Rate this article:


2Checkout's data portability capabilities enable you to import and export products using the XML (Extensible Markup Language) file format.


Import/Export as XML is available for all Active and Inactive products.

Import/Export XML file syntax

Use UTF-8 character encoding.

Please ensure the import file adheres to the XML 1.0 specification syntax rules.

  1. XML declaration: <?xml version="1.0" encoding="UTF-8"?>
  2. <Export></Export> is the root element for the export and the import file.
  3. XML elements feature start and closing tags, as long as there's information to be imported or exported: <Products> INFO </Products>. When no data is included or available, a single tag is sufficient : <AdditionalField/> .
  4. XML tags are case sensitive. Use <Products> INFO </Products> and not <Products> INFO </products>.
  5. XML attribute values must be quoted.
  6. Use this syntax <!-- This is a comment --> for comments in XML.
  7. White-spaces are preserved.
Rate this article:
Logo of Verifone