Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

CustomerGroup

CustomerGroup

List customer groups

get
/tenants/{tenantUid}/customer-groups

List customer groups

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/customer-groups
200

Example response

Create customer group

post
/tenants/{tenantUid}/customer-groups

Create customer group

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
namestringRequired
customerGroupUidstringOptionalPattern: ^[A-Za-z0-9-_]*
Responses
post
/tenants/{tenantUid}/customer-groups
201

Example response

Get customer group

get
/tenants/{tenantUid}/customer-groups/{customerGroupUid}

Get customer group for UID.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerGroupUidstringRequired

Reference to a customer group

Responses
200

Example response

application/json
Responseall of
get
/tenants/{tenantUid}/customer-groups/{customerGroupUid}
200

Example response

Update customer group

put
/tenants/{tenantUid}/customer-groups/{customerGroupUid}

Update customer group

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerGroupUidstringRequired

Reference to a customer group

Body
namestringOptional
Responses
200

Example response

application/json
Responseall of
put
/tenants/{tenantUid}/customer-groups/{customerGroupUid}
200

Example response

Delete customer group

delete
/tenants/{tenantUid}/customer-groups/{customerGroupUid}

Delete customer group

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerGroupUidstringRequired

Reference to a customer group

Responses
delete
/tenants/{tenantUid}/customer-groups/{customerGroupUid}
204

No Content

No content

Get customer group with customers

get
/tenants/{tenantUid}/customer-groups/{customerGroupUid}/customers

Get customer group with list of customers.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerGroupUidstringRequired

Reference to a customer group

Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

CustomerListResponse

application/json
get
/tenants/{tenantUid}/customer-groups/{customerGroupUid}/customers
200

CustomerListResponse

Add or remove customer group customers

put
/tenants/{tenantUid}/customer-groups/{customerGroupUid}/customers

Add and/or remove customer group customers.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerGroupUidstringRequired

Reference to a customer group

Body
addCustomerUidsstring[]Optional
removeCustomerUidsstring[]Optional
Responses
put
/tenants/{tenantUid}/customer-groups/{customerGroupUid}/customers
204

No Content

No content

Last updated

Was this helpful?