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