S_purchaseWholesaleAuctions

Purchase one or more wholesale auctions using the buyer's EUR wallet. Each call initiates an asynchronous checkout and returns an actionId you can poll to track progress.

This mutation requires the wholesale buyer role on your account. Contact Eneba support if you receive a 403 or an access-denied error.

Supported arguments

The following arguments are supported by S_purchaseWholesaleAuctions mutation:

FieldTypeDescription
inputS_API_PurchaseWholesaleAuctionsInput!Wholesale auctions purchase details

Return type

The mutation returns the S_API_PurchaseWholesaleAuctionsResponse type.

Constraints

  • Maximum 10 auction items per request.
  • Quantity must be between 1 and 2000 per auction item.
  • All auctionId values in items must be unique within a single request.
  • Payment is always deducted from your EUR wallet — ensure sufficient balance before calling.

Example usage

Use P_wholesaleAuctions to discover available auction IDs and their onHand stock before purchasing.

Request

mutation PurchaseWholesaleAuctions($input: S_API_PurchaseWholesaleAuctionsInput!) {
  S_purchaseWholesaleAuctions(input: $input) {
    success
    orderId
    actionId
  }
}

Variables:

{
  "input": {
    "items": [
      {
        "auctionId": "a1b2c3d4-1234-11ee-be56-0242ac120002",
        "quantity": 5
      },
      {
        "auctionId": "b2c3d4e5-2345-11ee-be56-0242ac120002",
        "quantity": 10
      }
    ]
  }
}

Response

{
  "data": {
    "S_purchaseWholesaleAuctions": {
      "success": true,
      "orderId": "c3d4e5f6-3456-11ee-be56-0242ac120002",
      "actionId": "c3d4e5f6-3456-11ee-be56-0242ac120002"
    }
  }
}

Use the actionId with the A_action query to poll the checkout status until it reaches a terminal state.

Copyright 2026 Eneba. All Rights Reserved. JSC “Helis play”, Gyneju St. 4-333, Vilnius, the Republic of Lithuania