Skip to content

Customer Group Details ​

Returns the details of a single customer group.

Request ​

GET /api/oauth/v2/resource/customers/groups/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters ​

ParameterTypeRequiredDescription
uuidstringYesUnique customer group ID

Response ​

Success (200 OK) ​

json
{
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "name": "Stammkunden",
    "description": "Kunden mit regelmäßigen Terminen",
    "color": "#74AFAD"
  }
}

Response fields ​

FieldTypeDescription
data.idstring (UUID)Unique customer group ID
data.namestringName of the customer group
data.descriptionstring | nullDescription of the customer group
data.colorstringColor as hex code (e.g. #74AFAD)
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/customers/groups/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope customers not present
403access_deniedAccess denied due to missing permission — e.g. if the customer group belongs to a company you have no cooperation with. If a cooperation exists between the companies, the request returns the data as normal
404not_foundCustomer group not found

Offisy GmbH