interface Asset {
    custom?: Custom;
    description?: LocalizedString;
    key: string;
    name: LocalizedString;
    sources: AssetSource[];
    tags?: string[];
}

Properties

custom?: Custom

The representation to be sent to the server when creating a resource with custom fields.

description?: LocalizedString

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language. json { "de": "Hundefutter", "en": "dog food" }

key: string

User-defined identifier for the asset. Asset keys are unique inside their container (a product variant or a category).

A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language. json { "de": "Hundefutter", "en": "dog food" }

sources: AssetSource[]
tags?: string[]