TraitGroup
Update Trait Group
Partially updates a Trait Group. Only the fields provided in the request body will be updated. For traits: existing traits with matching keys will be updated, new keys will be added. To remove a trait, set its dataType to an empty string ("") - this serves as an explicit deletion marker.
patch/v1/ControlPlane/Stores/{storeId}/TraitGroups/{traitGroupName}
Headers
If-Matchstring
Example:"eyJpZCI6ImFuX2lkIiwidiI6MX0"
Allows for optimistic concurrency control by making the request conditional. Server will only act if the resource's current Entity Tag (ETag) matches the one provided, preventing accidental overwrites.
Request body
Example request
{
"description": "Updated Trait Group contains traits related to contact information."
}Response
TraitGroup update request accepted for processing.
Example response
{
"message": "TraitGroup update request accepted."
}