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 (opens in a new tab)
REST Management V3https://api-b2b.bigcommerce.com/api/v3/io/
REST Management V2https://api-b2b.bigcommerce.com/api/v2/io/

Key resources

ResourceDescription
Company (opens in a new tab)Set client company info, administrator, and more.
Address (opens in a new tab)Associate one or more addresses with a company.
Order (opens in a new tab)Extend the BigCommerce order object with B2B-specific information, such as purchase order number.
Payment (opens in a new tab)Manage company payment methods.
Sales staff (opens in a new tab) and super admin (opens in a new tab)Manage sales staff and admin access privileges.
Quote (opens in a new tab)Manage 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?