updateCollections - Product Module Reference
This documentation provides a reference to the updateCollections
method. This belongs to the Product Module.
updateCollections(id, data, sharedContext?): Promise<ProductCollectionDTO>
This method is used to update a collection.
Example
Parameters
id
stringRequiredThe ID of the collection to be updated.
The attributes of the collection to be updated
Returns
The updated collection.
updateCollections(selector, data, sharedContext?): Promise<ProductCollectionDTO[]>
This method is used to update a list of collections matching the specified filters.
Example
Parameters
The filters specifying which collections to update.
The attributes to be updated on the selected collections
Returns
The updated collections.
Was this section helpful?