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}
Request
- Base URLhttps://t1000000.sb.usc1.gcp.kibocommerce.com/api
- URLhttps://t1000000.sb.usc1.gcp.kibocommerce.com/api/commerce/customer/b2baccounts/{accountId}/user/{userId}/roles/{roleId}
- AuthHTTP bearer
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
Changes
No recorded changes to this operation across all 1 revision of this API.