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 |