API

Update a customer group

Updates a customer group at a company.

POST/v1/hq/customer_groups/{customer_group_id}
AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

customer_group_id*string

Customer ID

Example"dwawd8awudawd"

Query Parameters

select?array<string>
expand?array<string>

Request Body

application/json

company?string
Example"QwYwhN8HH2CaFtwiW"
title?string
Example"Regulars"
description?string
Example"Customers that come in regularly"

Response Body

application/json

curl -X POST "https://api.noona.is/v1/hq/customer_groups/dwawd8awudawd" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "7dj29KiAE1wdjw731",
  "company": "QwYwhN8HH2CaFtwiW",
  "title": "Regulars",
  "description": "Customers that come in regularly",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}