API
Türkçe

API reference · Orders

Accept or reject an N11 order item

Accepts or rejects a single order item on N11 for an N11 store.

POST https://out.stockmount.com/api/Integration/ConfirmOrRejectOrderItem
Changes data

N11 stores only; IntegrationId must be 2. Other values return 00003 / IntegrationId.

IntegrationOrderDetailId is N11's numeric item ID (IntegrationOrderDetailId from GetSales). Values containing _ (e.g. additional service lines) are skipped when accepting. One item per call.

When rejecting, ... is sent to N11 as the reason; you cannot set a reason.

The action is performed on N11. The line status in StockMount is not updated by this call; it changes on the next N11 order sync.

Validation errors use 00003; ErrorMessage is StoreId, Status, IntegrationId or IntegrationOrderDetailId.

Request fields

Field Type Description
ApiCode required string API code returned by DoLogin.
StoreId required integer ID of the N11 store.
IntegrationId required integer Marketplace ID; only 2 (N11) is accepted.
2
N11.
IntegrationOrderDetailId required string N11 order item ID (numeric).
Status required integer Action.
1
Accept.
2
Reject.

Response fields (Response)

On success the Response field is empty; read the outcome from Result.

Error codes for this endpoint

CodeWhen
10001 StoreId is not a store in your account (ErrorMessage: Invalid store.).
60001 N11 refused the action; ErrorMessage is N11's message. On connection errors ErrorMessage can be empty.
99999 Unexpected error.

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

Related endpoints

Example request

{
  "ApiCode": "API_CODE",
  "StoreId": 12345,
  "IntegrationId": 2,
  "IntegrationOrderDetailId": "245678901234",
  "Status": 1
}

Example response

{
  "Result": true
}

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.

This endpoint changes real data in your account.

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.