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.

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 ExternalUrl will be uploaded.
  • The Url will be replaced with the new CDN URL.
  • After replacement, ForceUpload is reset to false to avoid re-uploading.

On this page