updateCollectionAssets()

Update asset properties for assets in specified collection

Parameters

export type UpdateCollectionAssetsProps = {
    collectionId: string;
    properties: BasicAnyObject; // JSON including all properties that should be updated with updated values
}

Examples

const asset= await assetlayer.assets.update({
    properties: {key1:value1, key2:value2},
    collectionId: 'collectionId'
});

Return Types

type ReturnType = string;

Alternatives

Last updated