v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Get User Roles Async

Retrieves all the roles for a specified user of a b2b account. These roles may include Admin, Purchaser, and Non-Purchaser.

get/commerce/customer/b2baccounts/{accountId}/user/{userId}/roles

Path parameters

accountIdinteger required
userIdstring required

Unique identifier of the user.

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Response

OK

totalCountinteger