About our APIs
Overview

About Our APIs

API environments

Make BigCommerce B2B Edition API requests in the context of the storefront or server-to-server.

APIBase URL
GraphQL Storefront APIhttps://api-b2b.bigcommerce.com/graphql
REST Storefront APISee endpoint reference
REST Management V3https://api-b2b.bigcommerce.com/api/v3/io/
REST Management V2https://api-b2b.bigcommerce.com/api/v2/io/

Key resources

ResourceDescription
CompanySet client company info, administrator, and more.
AddressAssociate one or more addresses with a company.
OrderExtend the BigCommerce order object with B2B-specific information, such as purchase order number.
PaymentManage company payment methods.
Sales staff and super adminManage sales staff and admin access privileges.
QuoteManage quotes.

Request headers

HeaderExpected value or typeDescriptionExample
authTokenStringB2B Edition auth token-
AcceptMIME typesThe MIME type format that indicates which response type the request expects. For more information, see HTTP Docs: Accept Header (MDN) (opens in a new tab).application/json
Content-TypeMIME typesThe MIME type of the request body. The API uses this value to validate and parse the request. For more information, see HTTP Docs: Content-Type Header (MDN) (opens in a new tab).application/json
User-AgentStringWe ask that you specify a user agent to identify your integration or client.PostmanRuntime/7.32.3

Pagination

Use the limit and offset query parameters together to paginate responses.

The limit value determines the number of records to return per page. The offset value is the number of results to skip before returning the first result.

For example, passing the following query param string returns the 11th through 20th results: offset=10&limit=10.

Did you find what you were looking for?