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


The Optimizely Service API supports bulk importing of media data such as images into Optimizely Commerce.

## Media bulk import methods

In the following we describe the methods to use when importing media files.

### Generate the media XML file

For imports using the media service, you can upload an XML file with unc paths or http paths to the media. You also can embed images in a zip file with the _media.xml_ file. See [Media service XML](🔗).

### Bulk import with file

Column Title
Column Title
Column Title
POSTpost/episerverapi/commerce/import/assetsSee [Media service XML](🔗) for how to generate the XML needed for the method.

C# code sample



Response



### Bulk import with file upload identifier

For this method to work, you need to a valid upload identifier of a _catalog.zip_ file previously uploaded using the chunked upload methods.

Column Title
Column Title
Column Title
POSTpost/episerverapi/commerce/import/assets/{uploadId}See [Media service XML](🔗) for how to generate the XML needed for the method.

C# code sample



Response