v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
CustomerGroups

CreateCustomerGroup

Creates a new customer group for a business.

The request must include the name value of the group.

post/v2/customers/groups

Request body

idempotency_keystring

The idempotency key for the request. For more information, see Idempotency.

Example request

{
  "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"
  }
}