Update Sku Group
POST/api/skugroups/updateskugroup
Tier: Public — stable, supported for third-party integration.
Applies a full-replace update to a SKU group's SKUs and/or places.
SkuGroupSkus and SkuGroupPlaces are full-replace lists — the supplied list replaces the group's existing set entirely (existing members not in the list are removed, new ones are added). A null list is treated as an empty list, which empties the group's SKUs or places rather than leaving them unchanged. A nullSkuGroupNameId keeps the group's current name. On failure, the error response is built from the SKU-group-name service's response codes rather than the SKU-group service that actually ran the update (see the controller-level quirk note) — the 400 body is typically an empty array even for an unknown Id.
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated SkuGroups.SkuGroupDetailDto.
Id does not match an existing group, or the update failed (see remarks).
The caller is not authenticated.
The caller lacks SkuGroup Update permission.