A_orderAction

Returns the processing status of a single order placed through the API. It reports the same state as A_action and, when the order has FAILED, a failureReason explaining what went wrong. Pass the orderId returned by S_purchaseWholesaleAuctions — the same value is also returned there as actionId.

The possible states are:

NEW: Order started and is being processed COMPLETED: Order successful, changes made to Eneba system FAILED: Order unsuccessful, no changes made to Eneba system

A_orderAction covers only orders placed through the API, and only for the API consumer who placed them. Results are available for 24 hours. The query returns null when the order is unknown, has not started processing yet, has expired, or was placed by a different API consumer — exactly as if the order did not exist. For durable order history, use O_orders.

Supported arguments

The following arguments are supported by A_orderAction query:

FieldTypeDescription
orderIdA_Uuid!The order ID (equal to the actionId returned at purchase)

Return type

The query returns the A_OrderAction type.

Failure reason

failureReason is set only when state is FAILED; for NEW and COMPLETED orders it is null.

ValueMeaningWhat to do
REJECTEDThe order was rejected during validation or policy checks.Don't retry automatically; contact support.
BALANCEInsufficient EUR wallet balance.Top up and retry.
STOCKNot enough stock for the requested quantity.Reduce the quantity or re-check offers.
RESERVATIONKeys couldn't be reserved or delivered.Retry later; contact support if it persists.
TEMPORARYA temporary condition prevented the purchase.Retry later.
UNKNOWNThe failure was recorded but couldn't be classified.Contact support.
NOT_RECORDEDThe order failed without a recorded reason.Contact support.

BALANCE is being rolled out; until then, insufficient-balance failures appear as UNKNOWN.

New values may be added over time. Treat an unrecognized failureReason value as a failure without further classification rather than assuming the list above is closed.

Example usage

Query

In the following query we ask for the status of the order returned at purchase.

query {
  A_orderAction(orderId: "c3d4e5f6-3456-11ee-be56-0242ac120002") {
    orderId
    state
    failureReason
  }
}

Result

Here the order has failed because there was not enough stock for the requested quantity.

{
  "data": {
    "A_orderAction": {
      "orderId": "c3d4e5f6-3456-11ee-be56-0242ac120002",
      "state": "FAILED",
      "failureReason": "STOCK"
    }
  }
}
Copyright 2026 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania