v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Add User Role Async

Add a role to B2B user. These roles include Admin, Purchaser, and Non-Purchaser.

post/commerce/customer/b2baccounts/{accountId}/user/{userId}/roles/{roleId}

Path parameters

accountIdinteger required
userIdstring required

Unique identifier of the user who receives the role.

roleIdinteger required

Unique identifier of the role to add.

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Response

OK