- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
updateRegions - Region Module Reference
This documentation provides a reference to the updateRegions
method. This belongs to the Region Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updateRegions(id, data, sharedContext?): Promise<RegionDTO>#
This method updates an existing region.
Example#
Parameters#
id
stringThe ID of the region.
data
UpdateRegionDTOThe attributes to update in the region.
data
UpdateRegionDTOReturns#
Promise
Promise<RegionDTO>The updated region.
Promise
Promise<RegionDTO>updateRegions(selector, data, sharedContext?): Promise<RegionDTO[]>#
This method updates existing regions.
Example#
Parameters#
selector
FilterableRegionPropsThe filters to apply on the retrieved regions.
selector
FilterableRegionPropsdata
UpdateRegionDTOThe attributes to update in the region.
data
UpdateRegionDTOReturns#
Promise
Promise<RegionDTO[]>The updated regions.
Promise
Promise<RegionDTO[]>Was this page helpful?