ProductAPI Reference
Assets
Getting started with assets
Media File Model
Details on the media file model can be found here.
Uploading Assets
Populate the Assets property with OmniumMediaFile objects to upload assets. External images from the ExternalUrl property will be uploaded to Omnium's CDN, replacing the Url property.
Force Upload
If ForceUpload is set to true:
- The
ExternalUrlwill be uploaded. - The
Urlwill be replaced with the new CDN URL. - After replacement,
ForceUploadis reset to false to avoid re-uploading.
