This call is deprecated. We recommend to use CRM API instead.
The corresponding new call is: POST /v1/customers/groups.
Create or update a customer group.
Parameter name | Description | Possible value | Required |
---|---|---|---|
customerGroupID | Customer group unique ID. | Integer | |
name | Customer group name. Use either general parameter "name" or one or more of the following parameters if you need to set the names in specific languages. | String | |
nameENG | String | ||
nameSPA | String | ||
nameGER | String | ||
nameSWE | String | ||
nameFIN | String | ||
nameRUS | String | ||
nameEST | String | ||
nameLAT | String | ||
nameLIT | String | ||
nameGRE | String | ||
attributeName# | Attribute name. Name can only contain the following symbols: A-Z, a-z, 0-9, dash and underscore. | String | |
attributeType# | Attribute type, possible types are 'text', 'int' and 'double'. By default 'text'. | String | |
attributeValue# | Value of the attribute. Set value to 'null' or 'undefined' to delete an attribute. 'text' attribute can be any string, maximum 255 characters. 'int' must be a signed 32-bit integer. 'double' must be a decimal number. |
String |
Field name | Type | Description |
---|---|---|
customerGroupID | Integer | ID of the newly-created or updated item |