B2B Ninja Docs

Get started with Server API

Get started with Server API

This document is going to give you a guide on how to interact with the B2BNinja Server API. Understanding REST APIs and JSON is necessary to use this API effectively.

First step is to make sure your account has API Access. Our Enterprise plan includes API access, and we have an Add-On available for the Black Belt plan.

Create an API Token

  1. Go to API Settings PageB2B Ninja - API Settings Page
  2. Create a New Token & Apply ChangesB2B Ninja - API Settings Page
  3. Make sure you have CURL installed on your computer

Use the REST API

Base URL

https://api.b2bninja.com/v3/bc/public

Request Headers

x-auth-client: {YOUR STORE_ID}
x-auth-token: {{YOUR AUTH TOKEN}}

Or use Zapier Integration

  • Add B2B Ninja integration to your zapier account: click here
  • Use the Store ID
  • Use the Token