Customers

Create Customer

post
/roles/customers

Assign entity the role of customer.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body
entityIdstring · uuidRequired

Identifier of the entity, natural person, joint person or legal entity, who will become a customer.

entityTypestring · enumRequiredPossible values:
labelsstring[] · max: 16Optional

Up to 16 user-defined labels can be provided to allow grouping of customers as per required logic

Responses
chevron-right
200

OK

application/json
post
/roles/customers

Get Customers

get
/roles/customers

Get a list of customers.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
cursorstringOptional

String value used for pagination

limitinteger · min: 1Required

Maximum number of items to return

Default: 20
entityIdstring · uuidOptional

Entity ID

customerStatusstring · enumOptional

Current customer status

Possible values:
customerTypestring · enumOptional

Customer type

Possible values:
labelsstring[] · max: 16Optional

user-defined labels (elements allow grouping of customers as per required logic) filter; will filter customers that have all of the provided labels

Responses
chevron-right
200

OK

application/json
get
/roles/customers

Get Customer

get
/roles/customers/{customerId}

Get customer

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstring · uuidRequired

Customer ID

Responses
chevron-right
200

OK

application/json
get
/roles/customers/{customerId}

Update Customer

patch
/roles/customers/{customerId}

Update customer

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstring · uuidRequired

Customer ID

Header parameters
Requestor-IDstring · uuidRequired

Unique requestor identification in UUID format

Body
labelsstring[] · max: 16Optional

Up to 16 user-defined labels can be provided to allow grouping of customers as per required logic

Responses
patch
/roles/customers/{customerId}

No content

Last updated