For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search docs
/
Ask AI
Dev Portal
Docs
API Reference
Learn
Community
Changelog
Developer
Developer
Developer
Developer
GraphQL
B2B
Queries
userCompany
Copy page
Get a company details by user id. Requires a B2B Token.
Arguments
userId
Integer
Required
BundleB2B user id. This field is required.
Returns
an optional CompanyType
id
String
Unique ID of this company
companyName
String
Company name
bcGroupName
String
The group name in BigCommerce's group. which must be unique
description
String
A brief introduction to the company
catalogId
String
Prices list ID of this company
companyStatus
Integer
Company status
addressLine1
String
Company address line 1
addressLine2
String
Company address line 2
city
String
Company city
state
String
Company state
zipCode
String
Zip code of company city
country
String
Company country
extraFields
list of optional ExtraFieldsValueType
extra fields of this company
Show 2 properties
customerGroupId
Integer
Company customer group id