Skip to main content

Import/Export product and pricing data using XML

Import/Export product and pricing data using XML

Last updated: 29-Feb-2024
Rate this article:

Overview

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

Availability

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:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo