> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BigCommerce B2B

> Connect Alumio to BigCommerce B2B.

## Extra information

Connector package documentation:
System documentation:

# Setting up HTTP Client Bigcommerce Bundle B2B

## Steps

1. In Alumio Dashboard, go to Clients > HTTPS Client. Create a new HTTP Client and select Bigcommerce Bundle B2B HTTP Client as the prototype of the HTTP Client.
2. Fill in the Base URI (Recommend: [https://api.bundleb2b.net](https://api.bundleb2b.net)), Store Hash, Email, Password, Name, BeginAt, EndAt, and ChannelID.

# Subscribing to Entities from Bigcommerce Bundle B2B

## Steps

1. Go to Connections -> Incoming and create a new incoming configuration and select Bigcommerce Bundle B2B Subscriber as the subscriber.
2. Select the entity you want to subscribe to from Bigcommerce Bundle B2B.
3. Add any request parameters needed to subscribe to the entity (optional).
4. You can optionally add a transformer to transform the request parameters into something you need.
5. Select the Bigcommerce Bundle B2B HTTP Client to use.

## General Concept

We follow Bigcommerce Bundle B2B documentation on building this connector so you can easily use the connector based on Bigcommerce Bundle B2B API Reference.

**Entity**

It’s the entity you want to subscribe from Bigcommerce Bundle B2B. Please refer to the entities in Management APIs from the Bigcommerce Bundle B2B API Reference page.

**Request Parameters**

These are the parameters you can provide to get the needed entity based on Bigcommerce Bundle B2B API Reference. Please look at the example below on how to fill the Request Parameters field when subscribing Get a User entity

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-01.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=d432afd757cca74b5be909e563b92d2e" alt="BigCommerce B2B connector screenshot 1" width="600" height="427" data-path="images/connectors/bigcommerce-b2b-01.png" />

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-02.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=1028533f593156c7ae5a19e342d36506" alt="BigCommerce B2B connector screenshot 2" width="513" height="135" data-path="images/connectors/bigcommerce-b2b-02.png" />

That’s why we need to define the **userId** property inside the **path** property in the Request Parameters field. The properties inside **query** parameters will be parsed as query parameters. Here is the final URL that will be called when using such Request Parameters field on the Get a user entity.

/api/v3/io/users/123

**Input Transformer**

Any transformers set here will be executed after the Request Parameters are loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need either as path parameters and/or as query parameters of an entity.

**HTTP Client**

It’s the HTTP Client configuration or prototype you will use to access Bigcommerce Bundle B2B.

# Publishing Entity to Bigcommerce Bundle B2B

## Steps

1. Go to Connections -> Outgoing, create a new outgoing configuration, and select Bigcommerce Bundle B2B Publisher as the publisher.
2. Select the action that you want the publisher to do with the data.
3. Select the Bigcommerce Bundle B2B entity you want the data to be published.
4. Select the HTTP Client to use.

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-03.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=02a1f2f1610ae6faceba3201ddb76dd7" alt="BigCommerce B2B connector screenshot 3" width="627" height="194" data-path="images/connectors/bigcommerce-b2b-03.png" />

## General Concept

Like the subscriber, the publisher has similar methods on how to use it. The difference is the payload that will be submitted by the publisher originating from the data (from routes, from transformers in outgoing configuration).

**Action**

Currently, we support Create (HTTP POST method), Update (HTTP PUT method), and Delete (HTTP DELETE method).

**Entity**

We support publishing to most Bigcommerce Bundle B2B endpoints. Please refer to the entities in Management APIs from the Bigcommerce Bundle B2B API Reference page. Based on the documentation, some endpoints may need one or more path parameters.

For endpoints that require an object as the request payload, please look at the example below. For example, we want to Delete a User. Please select “Delete” as the action and “Delete a User” as the entity of the publisher.

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-04.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=eb2ae000f832260a5d01c408f39f1542" alt="BigCommerce B2B connector screenshot 4" width="629" height="204" data-path="images/connectors/bigcommerce-b2b-04.png" />

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-05.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=9fd7a75361fcc0e6f0e6ef838ad1ac29" alt="BigCommerce B2B connector screenshot 5" width="571" height="145" data-path="images/connectors/bigcommerce-b2b-05.png" />

You can put the payload you want to send to Bigcommerce Bundle B2B into the payload property in the data. Here is an example of the Possible Response after Creation.

<img src="https://mintcdn.com/alumio/Y4FUbluEreYeFn73/images/connectors/bigcommerce-b2b-06.png?fit=max&auto=format&n=Y4FUbluEreYeFn73&q=85&s=7427f5df1294221a66bf5ec75a8cf7a8" alt="BigCommerce B2B connector screenshot 6" width="518" height="241" data-path="images/connectors/bigcommerce-b2b-06.png" />

Alumio will send an API request to Bigcommerce Bundle B2B with the URL

/api/v3/io/users/123

**HTTP Client**

It’s the HTTP Client configuration or prototype you will use to access Bigcommerce Bundle B2B.
