Skip to main content
POST
/
vendor
/
customer-groups
/
{id}
Update customer group
curl --request POST \
  --url https://api.example.com/vendor/customer-groups/{id} \
  --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.

Path Parameters

id
string
required

The ID of the Customer group.

Body

application/json

Create customer group details

name
string

Customer group name

Response

200 - application/json

Ok

customer_group
VendorCustomerGroup · object

Customer group details.