Represents a File, a reference to an asset in Norce Commerce or external reference (e.g. Youtube url)
The unique identifier of this specific instance of a file. Called "ExternalCode" in Connect. This can be null, but common practice is to have a unique code for each file. Used for removing or updating from api´s. The Code can be set by the user or from Norce, in admin, when uploading a new asset, usually based on the oridiginal file name or url.
The unique identifier for the file type. e.g. "PrimaryImage", "Additional image", "Winter images", "Data sheets". For primary images the code is always set to "PrimaryImage".
The MimeType of the File, omitted if Type is External. For example: "image/jpeg" or "application/pdf"
{ "Type": "external", "Code": "string", "FileCode": "string", "Key": "5eb041b0-19c9-4022-bd51-0e723885f5dd", "MimeType": "string", "Url": "string", "SortOrder": 0, "Cultures": [ { … } ] }