PUT api/customergroups/{id}
Update a customer group
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
CustomerGroupDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
Required Max length: 50 |
|
Customer | CustomerDto |
None. |
|
IsActive | boolean |
None. |
|
Settings | Collection of CustomerGroupSettingDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "f9b249d1-ee1b-4f16-850e-81ffc0a9e22f", "Name": "sample string 2", "Customer": { "Id": "a31370dd-6c41-4a95-b68f-e3994b1ace33", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }
Response Information
Resource Description
CustomerGroupDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
Required Max length: 50 |
|
Customer | CustomerDto |
None. |
|
IsActive | boolean |
None. |
|
Settings | Collection of CustomerGroupSettingDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "4c6b39f4-2ffb-4048-8af7-4bdb49274b60", "Name": "sample string 2", "Customer": { "Id": "722d614d-708c-43b4-845a-87c5a162f971", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }