API
Türkçe

API reference · General and lookups

List stores

Returns the marketplace and e-commerce stores connected to your account, with their StoreId.

POST https://out.stockmount.com/api/Integration/GetStores

StoreId is the ID you use to refer to a store in other endpoints. IntegrationId identifies the marketplace or platform the store belongs to.

Only stores that are active in the panel are listed. If you send IntegrationId, only that integration's stores are returned. An unknown IntegrationId is not an error; it returns an empty list.

There is no paging; all stores come in one response. The order is not guaranteed. StoreName can be empty.

The StoreId request field in the model is ignored. Integration/GetStore is an old alias that does the same thing; use GetStores in new integrations.

Request fields

Field Type Description
ApiCode required string Session code returned by DoLogin.
IntegrationId integer Optional. Returns only this integration's stores. If omitted or 0, all stores are returned.

Response fields (Response)

Field Type Description
StoreId integer Store ID.
StoreName string Store name as shown in the panel. Can be empty.
IntegrationId integer ID of the integration the store belongs to.
IntegrationName string Integration name (e.g. Trendyol).

Error codes for this endpoint

CodeWhen
99999 An unexpected server-side error occurred (e.g. a database error). On this endpoint ErrorMessage is usually empty.

For session errors (00001, 00006) and every other code see error codes.

Related endpoints

Example request

{
  "ApiCode": "API_CODE",
  "IntegrationId": 14
}

Example response

{
  "Result": true,
  "Response": [
    {
      "StoreId": 1234,
      "StoreName": "Örnek Mağaza",
      "IntegrationId": 14,
      "IntegrationName": "Trendyol"
    },
    {
      "StoreId": 1240,
      "StoreName": "Örnek Mağaza Outlet",
      "IntegrationId": 14,
      "IntegrationName": "Trendyol"
    }
  ]
}

Try it

The request goes straight from your browser to out.stockmount.com. The ApiCode is not stored by this site; it is kept only while this tab is open.

Get an ApiCode before sending requests.

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.