Getting started
Quickstart
Creating an API key and pulling your first orders takes about five minutes.
Before you start
- You need a StockMount account with a package that includes API access.
- Product endpoints also need an active Product package.
- There is no test environment: every call runs against your real account. Try endpoints that change data with a few test products or orders first.
1. Create an API key
In the StockMount panel, open API service settings in the Settings menu, create a new key and note the ApiKey and ApiPassword values. Details: Authentication.
2. Get an ApiCode
Every endpoint is called with POST and a JSON body. The Do request:
curl -X POST 'https://out.stockmount.com/api/User/DoLogin' \
-H 'Content-Type: application/json' \
-d '{ "ApiKey": "YOUR_API_KEY", "ApiPassword": "YOUR_API_PASSWORD" }'Keep the Response.ApiCode value from the response. You send it as the ApiCode field in the body of every later request.
3. List your stores
curl -X POST 'https://out.stockmount.com/api/Integration/GetStores' \
-H 'Content-Type: application/json' \
-d '{ "ApiCode": "API_CODE" }'{
"Result": true,
"Response": [
{ "StoreId": 1234, "StoreName": "Example Store", "IntegrationId": 14, "IntegrationName": "Trendyol" }
]
}Every request returns the same envelope: Result says whether it succeeded and Response carries the data. On errors Result is false and ErrorCode is set. Details: Conventions.
4. Pull orders
Get the store's order status codes with Get, then pull orders with Get:
curl -X POST 'https://out.stockmount.com/api/Integration/GetSales' \
-H 'Content-Type: application/json' \
-d '{
"ApiCode": "API_CODE",
"StoreId": 1234,
"OrderStatus": "Created",
"StartDate": "2026-11-04T00:00:00",
"EndDate": "2026-11-05T00:00:00"
}'Next steps
- Importing orders: pull orders on a schedule without missing any.
- Stock and price sync: bring changes from your ERP to the marketplaces.
- Postman collection: try every endpoint without writing code.
- On every endpoint page you can log in with the Connect button at the top right and send requests from the Try it panel in your browser.