Get User Information

Returns Company user information. The `userId` parameter accepts both the Company user ID and the BigCommerce customer account ID. Equivalent Storefront GraphQL API Query: `user`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).

Authentication

AuthorizationBearer
### Authentication header | Header | Argument | Description | |:-------|:---------|:------------| |`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| You can obtain this token using the steps described in the [REST Storefront API](/developer/docs/b2b-edition/getting-started/authentication#rest-storefront-api) section[...]

Path parameters

userIdstringRequired

Query parameters

isBcIdstringOptional

Indicates whether the userId parameter is the BigCommerce Customer ID. A value of 1 indicates that it is.

Response

OK
codedoubleDefaults to 200
dataobject
messagestringDefaults to SUCCESS