# Commerce Layer API Documentation

This is the complete API documentation for connecting to the Commerce Layer 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 **Commerce Layer connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## Commerce Layer actions

- POST `create-address` Create Address
- POST `create-avalara-account` Create Avalara Account
- POST `create-customer-group` Create Customer Group
- POST `create-inventory-model` Create Inventory Model
- POST `create-manual-tax-calculator` Create Manual Tax Calculator
- POST `create-market` Create Market
- POST `create-merchant` Create Merchant
- POST `create-price-list` Create Price List
- POST `create-shipping-category` Create Shipping Category
- POST `create-sku` Create SKU
- POST `create-stock-location` Create Stock Location
- POST `create-tax-category` Create Tax Category
- POST `create-tax-rule` Create Tax Rule
- DELETE `delete-address` Delete Address
- DELETE `delete-customer-group` Delete Customer Group
- DELETE `delete-inventory-model` Delete Inventory Model
- DELETE `delete-manual-tax-calculator` Delete Manual Tax Calculator
- DELETE `delete-market` Delete Market
- DELETE `delete-merchant` Delete Merchant
- DELETE `delete-price-list` Delete Price List
- DELETE `delete-shipping-category` Delete Shipping Category
- DELETE `delete-stock-location` Delete Stock Location
- DELETE `delete-tax-category` Delete Tax Category
- DELETE `delete-tax-rule` Delete Tax Rule
- GET `get-address` Get Address
- GET `get-customer-group` Get Customer Group
- GET `get-inventory-model` Get Inventory Model
- GET `get-manual-tax-calculator` Get Manual Tax Calculator
- GET `get-market` Get Market
- GET `get-merchant` Get Merchant
- GET `get-price-list` Get Price List
- GET `get-shipping-category` Get Shipping Category
- GET `get-stock-location` Get Stock Location
- GET `get-tax-category` Get Tax Category
- GET `get-tax-rule` Get Tax Rule
- GET `list-addresses` List Addresses
- GET `list-avalara-accounts` List Avalara Accounts
- GET `list-customer-groups` List Customer Groups
- GET `list-inventory-models` List Inventory Models
- GET `list-manual-tax-calculators` List Manual Tax Calculators
- GET `list-markets` List Markets
- GET `list-merchants` List Merchants
- GET `list-price-lists` List Price Lists
- GET `list-shipping-categories` List Shipping Categories
- GET `list-stock-locations` List Stock Locations
- GET `list-tax-calculators` List Tax Calculators
- GET `list-tax-categories` List Tax Categories
- GET `list-tax-rules` List Tax Rules
- PUT `update-address` Update Address
- PUT `update-customer-group` Update Customer Group
- PUT `update-inventory-model` Update Inventory Model
- PUT `update-manual-tax-calculator` Update Manual Tax Calculator
- PUT `update-market` Update Market
- PUT `update-merchant` Update Merchant
- PUT `update-price-list` Update Price List
- PUT `update-shipping-category` Update Shipping Category
- PUT `update-stock-location` Update Stock Location
- PUT `update-tax-category` Update Tax Category
- PUT `update-tax-rule` Update Tax Rule
