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 Extension | Description |
|---|---|
| .gif | Graphics Interchange Format (GIF) |
| .jpg/jpeg | Joint Photographic Experts Group (JPEG) format |
| .png | Portable graphics format |
| .webp | Web picture format |
| .mp4 | Moving Picture Experts Group (MPEG) format |
| .mov | QuickTime Movie format |
| Portable Document Format | |
| .usdz | Universal Scene Description Format |
| .glb | Global File format |
| .jp2 | Compressed bitmap image saved in Joint Photographic Experts Group (JPEG) format |
| .jxr | Extended range for Joint Photographic Experts Group (JPEG) format |
| .aac | Advanced Audio Coding (AAC) format |
| .vrml | Virtual 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.
📄️ Get all Files
Retrieves all files.
📄️ Create a File
Create a File
📄️ Get a File
Get a File
📄️ Delete a File
Delete a File