PUT api/customergroups/{id}
Update a customer group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
CustomerGroupDto| Name | 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": "15df0a9c-d8b6-427a-85b3-f9b2218a22b2",
"Name": "sample string 2",
"Customer": {
"Id": "f4e0688a-fd1f-44c6-813f-c3b277085a5f",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
Response Information
Resource Description
CustomerGroupDto| Name | 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": "b52ced78-76a6-4ca7-9337-ae600bf5af4f",
"Name": "sample string 2",
"Customer": {
"Id": "fed8b515-7a20-45e8-a50a-5b3bd73792f5",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}