v1

latestOpenAPI 3.0.0Apache 2.02026-07-142008071.1 MB
CustomerGroups

UpdateCustomerGroup

Updates a customer group as identified by the group_id value.

put/v2/customers/groups/{group_id}

Path parameters

group_idstring required

The ID of the customer group to update.

Request body

Example request

{
  "request_body": {
    "group": {
      "name": "Loyal Customers"
    }
  }
}

Response

Success

Example response

{
  "group": {
    "created_at": "2020-04-13T21:54:57.863Z",
    "id": "2TAT3CMH4Q0A9M87XJZED0WMR3",
    "name": "Loyal Customers",
    "updated_at": "2020-04-13T21:54:58Z"
  }
}