v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Get Users By Role

Retrieves a list of users who have a specific role in a B2B account.

get/commerce/customer/b2baccounts/{accountId}/roles/{roleId}/users

Path parameters

accountIdinteger required

The B2B account identifier

roleIdinteger required

The role identifier

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Response

OK

acceptsMarketingboolean

If true, the customer prefers to receive marketing material such as newsletters or email offers.

emailAddressstring nullable
firstNamestring nullable
hasExternalPasswordboolean

Indicates if an external password is set on this account

isActiveboolean
isLockedboolean
isRemovedboolean
last2FaDatestring date-time nullable
lastNamestring nullable
localeCodestring nullable
userIdstring nullable

Unique identifier of the user who is currently logged in. This is null if the user is anonymous (not logged in). Unicode data with a maximum length of 55 characters.

userNamestring nullable