> For the complete documentation index, see [llms.txt](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/integration/easycsv.md).

# EasyCSV

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2FD58lFOfX5AAJeLlWxLEl%2Fintegration.png?alt=media&amp;token=5073a1df-7783-4084-9f5a-a510101e2d23" alt=""><figcaption></figcaption></figure>

**EasyCSV** can create Shopify orders from CSV or XLSX files. Connect it with your B2B Solution **Public API key** and EasyCSV uses your B2B price for products that match a pricing rule, and the normal Shopify price for everything else. There is nothing to switch on inside B2B Solution: the API key is the connection.

### Requirements

* **EasyCSV** on the **Business** plan or higher.

{% hint style="info" %}
The **EasyCSV** card on **Integrations › Orders & invoices** always shows **Integrated** and has a **View guide** button, not **Integrate**.
{% endhint %}

### Step 1: Get the Public API key

1. In the app, go to **Integrations** and open the **Public API** tab.
2. Click **Get API key** on the **API key** card.
3. Make sure **Public API function** is **On**, then click **Generate API key**.
4. Copy or download the key right away.

{% hint style="warning" %}
The key is shown only once. If you lose it, delete the key on the API key page and generate a new one. Changing or cancelling your plan deletes the key while your rules are kept: generate a new key and paste it into EasyCSV again.
{% endhint %}

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2Fgit-blob-0f0e7efb41ac6280a2f64b4bd993a0bd72756a0a%2Fcms-easycsv-01.png?alt=media" alt="Generate the Public API key"><figcaption><p>Generate the Public API key</p></figcaption></figure>

### Step 2: Enter the key in EasyCSV

1. Open **EasyCSV** and go to **Import Data Flow**.

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2Fk0RhslvnrPiDiMnN6nFW%2Fimport%20flow.png?alt=media&amp;token=17657fb4-a1bf-4a1a-80fb-b9aa443475ad" alt=""><figcaption></figcaption></figure>

2. Scroll down and click **Change to B2B/Wholesale Pricing**.

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2F9yPkabK8oNm8kvyQTuxM%2Fchange%20to%20b2b.png?alt=media&amp;token=fb07a559-1b58-480e-9acd-a21d746aef13" alt=""><figcaption></figcaption></figure>

3. Choose **B2B/Wholesale Solution – Shopify app by BSS Commerce**, paste the key and click **Save**.

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2F1E4UBxKcU36fHgsrqa0z%2Fsavebu.png?alt=media&amp;token=f2d27b9b-9a99-407c-9a52-09693a739f61" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2FtcFo7SHOe7gEmStKPO36%2Fresult.png?alt=media&amp;token=38c30338-2808-4125-8578-45c316a5769a" alt=""><figcaption></figcaption></figure>

### How it works

Run your order import as usual. For each product, EasyCSV checks your B2B pricing rules:

* Rule applies: EasyCSV uses the **B2B price**.
* No rule: it falls back to the **default Shopify price**.

**Disconnect:** switch the pricing option back in EasyCSV's Import Data Flow, or delete the API key on the API key page.

🎥 **Tutorial video:** [How to create Shopify Orders with B2B/Wholesale Solution custom prices for products from CSV / XLSX Files](https://www.easycsv.io/docs/shopify#create_b2b_orders)

{% hint style="info" %}
If you need further assistance, please feel free to reach us at [**support@bss-b2b.solutions**](mailto:support@bss-b2b.solutions) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740).
{% endhint %}
