# BigCommerce (B2B) API Documentation

This is the complete API documentation for connecting to the BigCommerce (B2B) API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **BigCommerce (B2B) connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/bigCommerceB2B/actions/{actionSlug}/run
```

## BigCommerce (B2B) actions

- POST `create-invoice` Create Invoice
- GET `get-all-companies` Get All Companies
- GET `get-company` Get Company
- GET `get-company-credit` Get Company Credit
- PUT `get-company-payment-methods` Get Company Payment Methods
- PUT `get-company-payment-terms` Get Company Payment Terms
- GET `get-invoice` Get Invoice
- GET `get-invoices` Get invoices
- GET `get-order` Get Order
- PUT `update-company` Update Company
- PUT `update-company-credit` Update Company Credit
- PUT `update-company-payment-methods` Update Company Payment Methods
- PUT `update-company-payment-terms` Update Company Payment Terms
- POST `update-invoice` Update Invoice
