API
Türkçe

API reference · General and lookups

Get order line statuses

Returns the current status codes of the order lines you specify.

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

Only OrderDetailId is read from each item of OrderDetails; other fields are ignored.

Only lines that belong to your stores are returned. IDs that are not found or belong to another account are skipped without an error. The response order is not guaranteed.

There is no list length limit in code. Use GetIntegrationOrderListingStatus for the meaning of OrderStatus values. A line without a status has an empty OrderStatus.

Request fields

Field Type Description
ApiCode required string Session code returned by DoLogin.
OrderDetails required object[] Order lines to query. At least one item is required.
OrderDetails[]. OrderDetailId required integer Order line ID (OrderDetailId from order responses).

Response fields (Response)

Field Type Description
OrderId integer StockMount order ID.
OrderDetailId integer Order line ID.
StoreId integer ID of the store the line belongs to.
OrderStatus string Current status code of the line. Can be empty.

Error codes for this endpoint

CodeWhen
00003 OrderDetails is missing or empty. ErrorMessage: OrderDetails.
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",
  "OrderDetails": [
    {
      "OrderDetailId": 9876543
    },
    {
      "OrderDetailId": 9876544
    }
  ]
}

Example response

{
  "Result": true,
  "Response": [
    {
      "OrderId": 4567890,
      "OrderDetailId": 9876543,
      "StoreId": 1234,
      "OrderStatus": "Shipped"
    },
    {
      "OrderId": 4567890,
      "OrderDetailId": 9876544,
      "StoreId": 1234,
      "OrderStatus": "Created"
    }
  ]
}

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.