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 OmniumAsset objects to upload assets. External images from the ExternalUrl property will be uploaded to Omnium's CDN, replacing the Url property.
Link-Only Assets
Assets with AssetType set to ExternalCertification are not uploaded. Url is set to the ExternalUrl and the image stays on the external host, so a shared certification mark is stored once at its source. See Link-only assets.
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.