Commerce Layer API Documentation
This is the complete API documentation for connecting to the Commerce Layer API using MindCloud's Universal API. If you are new to MindCloud, start with the Introduction to see how one API can sit in front of many different apps.
MindCloud is an integration company that offers one normalized API to access 3,100+ apps from a single place. It cleans up provider-specific quirks, keeps requests and responses consistent, and centralizes authentication so you do not need to manage separate flows for every app. Browse other apps.
Meet Commerce Layer: Manage markets, inventory, orders, pricing, and promotions across channels. Keep reading to get started.
Quickstart
Before you run your first Commerce Layer request, you need three things:
- A MindCloud account — sign in or create an account at MindCloud.
- A MindCloud API Key — create one in API Keys. Keep it on your server.
- At least one Commerce Layer connection — create or choose one in Connections. Note its
connectionId.
Every Commerce Layer action uses the same URL pattern:
POST https://connect.mindcloud.co/v2/universal/apps/commerceLayer/actions/{actionSlug}/runYou need a MindCloud API Key and a Commerce Layer connection. Then call an action such as List Markets:
curl --request POST \
--url "https://connect.mindcloud.co/v2/universal/apps/commerceLayer/actions/list-markets/run" \
--header "Authorization: Bearer $MINDCLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"connectionId": "$CONNECTION_ID",
"arguments": {}
}'Every response comes back in the same envelope, with your rows in a data array:
{
"success": true,
"data": [
{ "id": "1042", "name": "Ava" }
],
"meta": {}
}After your first request works, use Shape your requests to control arguments, pagination, filtering, fields, and errors.
Authenticate with a MindCloud API Key plus a connectionId for your Commerce Layer account. See Commerce Layer API Authentication for the full flow and how to get your connection credentials.
Commerce Layer actions
All 59 published actions for this Commerce Layer version. Each page documents the endpoint, arguments, and response controls.
- POSTCreate Address
- POSTCreate Avalara Account
- POSTCreate Customer Group
- POSTCreate Inventory Model
- POSTCreate Manual Tax Calculator
- POSTCreate Market
- POSTCreate Merchant
- POSTCreate Price List
- POSTCreate Shipping Category
- POSTCreate SKU
- POSTCreate Stock Location
- POSTCreate Tax Category
- POSTCreate Tax Rule
- DELETEDelete Address
- DELETEDelete Customer Group
- DELETEDelete Inventory Model
- DELETEDelete Manual Tax Calculator
- DELETEDelete Market
- DELETEDelete Merchant
- DELETEDelete Price List
- DELETEDelete Shipping Category
- DELETEDelete Stock Location
- DELETEDelete Tax Category
- DELETEDelete Tax Rule
- GETGet Address
- GETGet Customer Group
- GETGet Inventory Model
- GETGet Manual Tax Calculator
- GETGet Market
- GETGet Merchant
- GETGet Price List
- GETGet Shipping Category
- GETGet Stock Location
- GETGet Tax Category
- GETGet Tax Rule
- GETList Addresses
- GETList Avalara Accounts
- GETList Customer Groups
- GETList Inventory Models
- GETList Manual Tax Calculators
- GETList Markets
- GETList Merchants
- GETList Price Lists
- GETList Shipping Categories
- GETList Stock Locations
- GETList Tax Calculators
- GETList Tax Categories
- GETList Tax Rules
- PUTUpdate Address
- PUTUpdate Customer Group
- PUTUpdate Inventory Model
- PUTUpdate Manual Tax Calculator
- PUTUpdate Market
- PUTUpdate Merchant
- PUTUpdate Price List
- PUTUpdate Shipping Category
- PUTUpdate Stock Location
- PUTUpdate Tax Category
- PUTUpdate Tax Rule
Related apps
More Commerce apps on the Universal API, behind the same REST shape. Or browse all apps.