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