HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


The Optimizely Service API supports the bulk import of catalog data into Optimizely Commerce.

## Catalog bulk import and export

In the following we describe the methods to use when importing and exporting catalog files.

### Generate the catalog XML file

For the catalog import and export to work as described here, you need to generate an XML file named _catalog.xml_ and place it at the root of a zip file to be uploaded. See [Catalog service XML](🔗) for how to generate the XML file used when importing and exporting catalog data.

### Bulk import with file

Column Title
Column Title
Column Title
POSTpost/episerverapi/commerce/import/catalogWhen using this method you receive a backwards-compatible catalog file that will import the content into Commerce.

C# code sample



Response



### Bulk import with file upload identifier

The file to be used is based of the **upload identifier** of a file previously updated using /episerverapi/commerce/import/upload/chunk and /episerverapi/commerce/import/upload/commit, see [Chunk upload of large files](🔗).

Column Title
Column Title
Column Title
POSTpost/episerverapi/commerce/import/catalog/{uploadId}When using this method you receive a backwards-compatible catalog file that will import the content into Commerce.

C# code sample



Response



### Bulk export

Column Title
Column Title
Column Title
GETget/episerverapi/commerce/export/catalog/{catalogName}This method returns a zip file of the exported content of the catalog specified in the name parameter.

C# code sample