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": "b7e1fa44-ab31-4f7e-8dfa-9fb538611509", "Name": "sample string 2", "Customer": { "Id": "af130baf-3054-4a68-86da-4307a0667266", "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": "0fcd5694-9566-4281-844d-fb878e2c5974", "Name": "sample string 2", "Customer": { "Id": "67fee53e-dab7-4dbb-819c-5ee4bc03c073", "Name": "sample string 2" }, "IsActive": true, "Settings": [ { "Name": "EmbedReportUrl", "Value": "sample string 1" }, { "Name": "EmbedReportUrl", "Value": "sample string 1" } ] }