upsertCollections - Product Module Reference
This documentation provides a reference to the upsertCollections
method. This belongs to the Product Module.
upsertCollections(data, sharedContext?): Promise<ProductCollectionDTO[]>
This method updates existing collections, or creates new ones if they don't exist.
Example
Parameters
The attributes to update or create for each collection.
Returns
The updated and created collections.
upsertCollections(data, sharedContext?): Promise<ProductCollectionDTO>
This method updates an existing collection, or creates a new one if it doesn't exist.
Example
Parameters
The attributes to update or create for the collection.
Returns
The updated or created collection.
Was this section helpful?