Skip to main content
POST
/
vendor
/
customer-groups
Create a customer group
curl --request POST \
  --url https://api.example.com/vendor/customer-groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "customer_group": {
    "id": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create customer group details

name
string

Customer group name

Response

201 - application/json

Created

customer_group
VendorCustomerGroup · object

Customer group details.