API
Türkçe

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 DoLogin 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 GetIntegrationOrderListingStatus, then pull orders with GetSales:

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.

Use ↑ ↓ to move, Enter to open, Esc to close.

Connect to the Out API

DoLogin is called and the returned ApiCode is kept in this tab. Your API password is never sent to this site.