Skip to main content

Files

You can upload image files or URLs by using multipart/form-data as the content type header. For example, "Content-Type: multipart/form-data" \. Commerce supports the following file types.

File ExtensionDescription
.gifGraphics Interchange Format (GIF)
.jpg/jpegJoint Photographic Experts Group (JPEG) format
.pngPortable graphics format
.webpWeb picture format
.mp4Moving Picture Experts Group (MPEG) format
.movQuickTime Movie format
.pdfPortable Document Format
.usdzUniversal Scene Description Format
.glbGlobal File format
.jp2Compressed bitmap image saved in Joint Photographic Experts Group (JPEG) format
.jxrExtended range for Joint Photographic Experts Group (JPEG) format
.aacAdvanced Audio Coding (AAC) format
.vrmlVirtual Reality Modelling Language (VRML) format
.doc(x)Microsoft Word Open XML format
.ppt(x)Microsoft PowerPoint Open XML format
.xls(x)Microsoft Excel Open XML format

By default, the maximum file size is 8MB. If you need to support larger file sizes, contact your Elastic Path representative. Alternatively, store files somewhere else and reference them.