Pólónagyker API: live stock and wholesale prices in your own system

Stop requesting stock by email and copying products by hand. The API delivers the full product catalogue, warehouse stock and your account's wholesale prices in real time, and you can place orders straight from your own system: webshop, ERP, anything.

GET /api/v1/stock-feed

{
  "data": [{
    "sku": "00123-M",
    "title": "T-shirt M",
    "base_sku": "00123",
    "internal_quantity": 120,
    "internal_restock_date": null,
    "external_quantity": 500,
    "external_restock_date": "2026-10-20"
  }],
  "meta": {
    "generated_at": "2026-10-06T12:00:00+00:00",
    "total": 1
  }
}

What can the API do?

Full product catalogue

Every product family and variant: size, colour, dimensions, image, category and brand, in Hungarian and English.

Live warehouse stock

Per-warehouse quantities and expected restocks, always the current state. No more asking for stock by phone.

Prices in your own tier

You get exactly the price your account sees in the webshop, according to your assigned wholesale price tier.

Orders from your own system

Your ERP or webshop places the order directly with us, at your account's prices and with the usual confirmation.

Simple REST + JSON

Standard REST, Bearer or X-API-Key authentication, paginated product lists and a complete JSON/CSV stock feed, with documentation.

Help with the integration

Stuck, or running a custom system? Together with our customer service we find the integration solution that fits.

Order from your own system

Your ERP or webshop places the order with us automatically. No more re-entering the items in our webshop by hand.

  1. Your system

    The ERP, webshop or other software in which you manage your orders.

  2. Pólónagyker API

    Takes the items and prices them at your account's wholesale prices.

  3. Your order at Pólónagyker

    We process it exactly like an order placed in the webshop.

  • No manual entry. What you have put together in your system does not need to be typed into the webshop again.

  • At your own prices. The order is created at your account's wholesale prices, the same ones you see in the webshop.

  • The usual confirmation. You receive the same confirmation e-mail as after a purchase in the webshop.

  • With your own order number. Your PO number stays with the order, so it is easy to match in the two systems.

We enable API ordering per account. Details and an example

We help you connect

Is your ERP or webshop a custom one, and you are not sure where to start? Call our customer service or write to us, and together we will find the right integration solution.

How does it work?

1

Register or log in

Every registered Pólónagyker account can use the API free of charge.

2

Generate an API key

Inside your account, on the API keys page. You can have up to 5 keys and delete or regenerate them at any time.

3

Connect

Call the endpoints with your key and work with live data in your own system.

curl https://polonagyker.hu/api/v1/base-products \
  -H "Authorization: Bearer {key}"

Available endpoints

  • GET /api/v1/stock-feed Complete live stock list in JSON or CSV
  • GET /api/v1/base-products Paginated base product list
  • GET /api/v1/base-products/{id} Base product details
  • GET /api/v1/base-products/{id}/products List of variants (size, colour, price)
  • GET /api/v1/products/{id}/stocks Stock data of a variant per warehouse
  • GET /api/v1/categories Category tree
  • GET /api/v1/brands Brands
  • POST /api/v1/orders Prepare an order with its final prices (for enabled accounts)
  • POST /api/v1/orders/{id}/accept Accept the prepared order, within 10 minutes
  • GET /api/v1/orders List of the orders you placed through the API, paginated
Authentication: Bearer or X-API-Key Default limit: 60 requests / minute per account Format: JSON (hu / en), stock feed: JSON / CSV

Send a User-Agent header that names your system: a request that arrives with the default agent of some HTTP libraries (for example Python urllib and libwww-perl) is refused by our firewall before it reaches the API, with a plain-text 403 (error code: 1010), not with the API's JSON error.

Ordering through the API

You can place the order from your own system too, in two steps: the first request prices the order and returns its final prices, the second one accepts it. The acceptance creates exactly the order you would place at the webshop checkout: at your account's prices, with the usual confirmation e-mail.

The complete offer returned at preparation is fixed for 10 minutes: addresses, product details, prices, price tier, currency, delivery and payment method stay as recorded. Later changes to the account price group or currency do not rewrite the offer. Acceptance still requires enabled API ordering, available daily allowance and positive credit if required by the recorded payment method; both the variant and its parent must exist, be undeleted and currently published. A refused or expired offer does not become an order.

Who can use it?
Our customer service enables API ordering per account, with a daily order limit. If you would like to use it, please contact us. The API keys page of your account always shows whether it is enabled, and with which settings.
How does it become an order?
The POST /api/v1/orders request does not place an order yet: it checks and prices it, then returns an identifier and the final prices. The order is created when you accept it within 10 minutes with the POST /api/v1/orders/{id}/accept request; its response carries the order number. If you do not accept it, no order is created and it does not count against the daily limit.
What do you send in the request?
Four things: your own PO number, the shipping address, the items (SKU and quantity) and an optional note. The request may not carry any other field.
What does your account add?
The billing address is the primary billing address of your account, and the delivery and payment method are the ones set for your account. They cannot be sent in the order; to change them, please contact our customer service.
At what price?
By your account's price group, at the tier of the order's total quantity, exactly as the webshop cart calculates. The unit price can therefore be lower than the price in the product list. The response returns the unit prices and the price tier that was applied. These prices hold until the acceptance, for at most 10 minutes.
What happens if you send it twice?
If you send the same request again within 10 minutes (after a timeout, for example), no second order is created: you get the same prepared order back. You can repeat the acceptance too: it returns the same order. Any difference (PO number, address, items, quantity, note) makes it a new order.
What are the limits?
At most 500 lines per order and 10,000 pieces per line, and a SKU may appear only once in an order. Per day (the calendar day in Hungarian time) you can place the number of orders set for your account, counting only accepted orders, and you can send at most 30 order requests a minute.
What about stock?
As in the webshop, an order can be placed above the displayed stock.
Which terms apply?
The General Terms and Conditions of the webshop apply to orders placed through the API, just as to orders placed on the website.

Example: placing an order

curl -X POST https://polonagyker.hu/api/v1/orders \
  -H "Authorization: Bearer {key}" \
  -H "Content-Type: application/json" \
  -d '{
    "po_number": "PO-2026-0457",
    "shipping_address": {
      "first_name": "Elek",
      "last_name": "Teszt",
      "company_name": "Minta Kft.",
      "tax_number": "12345678-2-41",
      "country": "HU",
      "zip_code": "1046",
      "city": "Budapest",
      "address": "Minta utca 4.",
      "phone": "+36301234567"
    },
    "items": [
      { "sku": "00123-M", "quantity": 120 },
      { "sku": "00123-L", "quantity": 80 }
    ],
    "note": "Please hand over at the rear loading dock."
  }'

# Acceptance with the identifier from the response, within 10 minutes:
curl -X POST https://polonagyker.hu/api/v1/orders/01jcr8z6v9m2t4x7b5k3n1q0hw/accept \
  -H "Authorization: Bearer {key}"

Example response to the first step (201 Created)
{
  "data": {
    "id": "01jcr8z6v9m2t4x7b5k3n1q0hw",
    "status": "awaiting_acceptance",
    "expires_at": "2026-11-12T10:25:00+01:00",
    "accept_url": "https://polonagyker.hu/api/v1/orders/01jcr8z6v9m2t4x7b5k3n1q0hw/accept",
    "order_id": null,
    "po_number": "PO-2026-0457",
    "currency": "HUF",
    "total_quantity": 200,
    "net_total": 140000,
    "vat_total": 37800,
    "gross_total": 177800,
    "delivery_method": "Home delivery",
    "payment_method": "Bank transfer",
    "note": "Please hand over at the rear loading dock.",
    "billing_address": { "first_name": "Elek", "last_name": "Teszt", "company_name": "Minta Kft.", "tax_number": "12345678-2-41", "country": "HU", "zip_code": "1111", "city": "Budapest", "address": "Számla utca 1." },
    "shipping_address": { "first_name": "Elek", "last_name": "Teszt", "company_name": "Minta Kft.", "tax_number": "12345678-2-41", "country": "HU", "zip_code": "1046", "city": "Budapest", "address": "Minta utca 4.", "phone": "+36301234567" },
    "items": [
      { "sku": "00123-M", "title": "T-shirt M", "quantity": 120, "unit_price": 700, "vat_rate": 27, "net_total": 84000, "vat_amount": 22680, "gross_total": 106680 },
      { "sku": "00123-L", "title": "T-shirt L", "quantity": 80, "unit_price": 700, "vat_rate": 27, "net_total": 56000, "vat_amount": 15120, "gross_total": 71120 }
    ]
  },
  "meta": {
    "duplicate": false,
    "price_group": "nk100",
    "quota": { "limit": 10, "used_today": 0, "remaining": 10, "resets_at": "2026-11-13T00:00:00+01:00" }
  }
}

An invalid request gets a 422 response naming the invalid field, reaching the daily limit gets a 429, and an acceptance that arrives after the 10 minutes gets a 410. The complete list of error codes is in the API documentation. API documentation

Complete live stock feed

One authenticated request returns stock for every published variant, including zero stock. There is no pagination or filtering. Withdrawn and deleted products disappear from the complete list, so replace the previous list on each refresh.

Live data means the current committed stock in the webshop database, following imports, manual edits and background internal-stock deductions for webshop orders. It is not a direct connection to the warehouse system or a file generated every 15 minutes.

GET https://polonagyker.hu/api/v1/stock-feed GET https://polonagyker.hu/api/v1/stock-feed?format=csv

The default is JSON; format=json returns the same response and format=csv downloads CSV. Other formats return a 422 JSON error. data contains the complete list, meta.generated_at is the response time in UTC, and meta.total is the row count.

Send your existing key in the Authorization: Bearer or X-API-Key header, never in the URL. The feed shares the rate limit with other API requests: normally 60 requests per minute per account. Missing or invalid key: 401; rate limit exceeded: 429.

sku
Variant SKU, as text.
title
Variant title in the selected API language.
base_sku
Base product SKU, as text.
internal_quantity
Internal stock quantity, as an integer.
internal_restock_date
Expected internal restock date: YYYY-MM-DD or null.
external_quantity
External stock quantity, as an integer.
external_restock_date
Expected external restock date: YYYY-MM-DD or null.

Missing stock gives quantity 0 and a null arrival date. Quantities are summed across warehouses of the same type; the earliest arrival date is returned.

JSON and CSV examples

curl "https://polonagyker.hu/api/v1/stock-feed" \
  -H "X-API-Key: key"

curl "https://polonagyker.hu/api/v1/stock-feed?format=csv" \
  -H "Authorization: Bearer key"
Example JSON response
{
  "data": [{
    "sku": "00123-M",
    "title": "T-shirt M",
    "base_sku": "00123",
    "internal_quantity": 120,
    "internal_restock_date": null,
    "external_quantity": 500,
    "external_restock_date": "2026-10-20"
  }],
  "meta": {
    "generated_at": "2026-10-06T12:00:00+00:00",
    "total": 1
  }
}

sku,title,base_sku,internal_quantity,internal_restock_date,external_quantity,external_restock_date
00123-M,T-shirt M,00123,120,,500,2026-10-20

CSV uses UTF-8, commas and standard quoting. Missing dates are empty cells. Text that could be interpreted as a formula gets a leading apostrophe; JSON preserves the original text. Import both SKU columns as Text to preserve leading zeros.

Excel Power Query: authenticated refresh

  1. In Excel, choose Data > Get Data > From Other Sources > Blank Query.
  2. In the Power Query editor, use Manage Parameters to create a Text parameter named ApiKey and enter your own API key.
  3. Paste the JSON query below into the Advanced Editor. If Excel asks for an authentication method, choose Anonymous for the web address: the code sends your API key in the header.
  4. Choose Close & Load. Later, Data > Refresh All retrieves the complete stock list again. Share the workbook containing your key only with people authorised to use the API.
let
    Source = Json.Document(Web.Contents("https://polonagyker.hu", [
        RelativePath = "api/v1/stock-feed",
        Headers = [#"X-API-Key" = ApiKey]
    ])),
    Rows = Table.FromRecords(Source[data], {
        "sku", "title", "base_sku", "internal_quantity", "internal_restock_date",
        "external_quantity", "external_restock_date"
    }),
    Typed = Table.TransformColumnTypes(Rows, {
        {"sku", type text}, {"title", type text}, {"base_sku", type text},
        {"internal_quantity", Int64.Type}, {"internal_restock_date", type date},
        {"external_quantity", Int64.Type}, {"external_restock_date", type date}
    })
in
    Typed
Using CSV in Power Query

For CSV, replace the Source and Rows steps above with the following; keep the Typed step and ApiKey parameter.

    Source = Csv.Document(Web.Contents("https://polonagyker.hu", [
        RelativePath = "api/v1/stock-feed",
        Query = [format = "csv"],
        Headers = [#"X-API-Key" = ApiKey]
    ]), [Delimiter = ",", Encoding = 65001, QuoteStyle = QuoteStyle.Csv]),
    Promoted = Table.PromoteHeaders(Source, [PromoteAllScalars = true]),
    Rows = Table.ReplaceValue(Promoted, "", null, Replacer.ReplaceValue,
        {"internal_restock_date", "external_restock_date"}),

Generate a key and fetch your first product

Create an API key in your account, paste it into your code, and within minutes you are querying live stock and prices. Full documentation is one click away.

Pólónagyker Assistant

Hi! How can I help you? Feel free to ask about our products, shipping, or anything related to Pólónagyker.