Product Availability
Looks up per-store stock for one Altex or Media Galaxy product by its code or page URL, store by store.
Loading / 加载中…
Altex API · E-commerce & marketplace data
This catalogue covers seven Altex operations shared across the altex.ro and mediagalaxy.ro storefronts: flattening the whole category tree, listing one category's own products, searching the catalogue by keyword, reading one product's full record, checking per-store stock for one product, listing the store directory, and reading a product's own customer reviews. Category listing and keyword search return the same row shape, priced in RON with seller, stock and rating fields; the full product record adds every seller's own offer, specifications, resealed units and optional paid extras on top of what a row already carries; per-store availability and the store directory both read from the same network of Altex, Media Galaxy and Brico locations.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Looks up per-store stock for one Altex or Media Galaxy product by its code or page URL, store by store.
Lists Altex's whole category tree flattened into ids, URL slugs, parent links and depth levels, with an optional name or path match.
Lists the products filed under one Altex category by its slug or URL, with brand, price, stock, seller, store and rating filters.
Returns one Altex product's full record: every seller's offer, specifications, images, resealed units and extra services.
Returns written customer reviews for one Altex product, filterable by star rating and ordered newest or most helpful first.
Searches the Altex and Media Galaxy catalogue by keyword, with the same brand, price, stock, seller, store and rating filters as category listing.
Lists Altex, Media Galaxy and Brico store locations with address, contact and opening-hours detail, narrowed by city, region or network.
Every operation in this catalogue reads body.site to choose a shop front, altex by default or mediagalaxy for the same group's second chain; aliases shop and store_front work in its place. Measured on the same SKUs, the two storefronts report identical prices and stock, so the choice does not change what a product record, a listing row or a store's own figures contain.
What does change is which shop the data is read as: on altex-category, altex-search and altex-product, a row's own seller names Altex as seller id 1 on the altex storefront and Media Galaxy as seller id 2 on mediagalaxy, and the installment_monthly_from figure can differ between the two. altex-reviews is the one exception: its written reviews are shared between both storefronts rather than split by body.site, so switching it does not change which reviews come back.
altex-categories flattens the whole category tree into rows, each with its own category_id, a parent_id naming the node above it, a level, a readable path and a url_key; Add body.match and only the rows whose own name or path mention that text survive the filter. That same url_key is the value altex-category's own body.category expects, so a category found this way can be opened directly without guessing the slug from a page's own address.
Where altex-search matches body.query against the whole catalogue regardless of category, altex-category instead lists only the one category named by body.category or body.url; sending neither is rejected. body.sort defaults to relevance on both calls, but a category listing carries no search term to rank relevance against, so that default there behaves the same way best_selling would; altex-search's own default genuinely orders by relevance to the keyword sent.
body.price_min and body.price_max filter altex-category and altex-search by the selling price in RON, and combine freely, narrowing to the band between them rather than only the tighter of the two. Send body.brand as one of the lower-case slugs this operation already recognises in its own filter links; step outside that set and the call fails outright, where simply omitting the field instead returns every brand unfiltered. body.seller_id keeps rows on which that numeric seller has an in-stock offer at all — 1 for Altex, 2 for Media Galaxy, any other id a marketplace seller — even when a different seller's offer is the one actually shown on the row by its own seller block.
body.store_id narrows to products in stock at one store, the same store id altex-stores returns. body.min_rating keeps products whose average rating is at least that many stars, and body.in_stock, left out, still lists out-of-stock products alongside in-stock ones, each with its own price.
A row from altex-category or altex-search carries its own price alongside a crossed-out former price and a discount amount and percentage. discount_type names how that cut was applied:
none: the price carries no discount at allfixed: a flat lei amount was cut from the pricepercentage: a percentage was cut from the pricerepositioning: the cut came from repositioning the price rather than a plain markdownA row's own recommended retail price and its cheapest resealed price are two further figures again, the second naming only the lowest price among that product's own resealed units rather than the regular listing's former price. altex-product's full record adds every seller's own offer, a split between the total offer count and the count besides the one shown, a star-by-star rating breakdown, a grouped specification sheet, each resealed unit's own store and reason, and optional paid extras such as warranty cover.
A call to altex-availability needs one of body.sku or body.url to know which product to look up, and comes back with one row per store that currently lists it. Six is as high as any one store's own quantity figure goes, so a shopper comparing two stores both showing that ceiling cannot tell which actually holds more; a separate marker on that row says the real count runs higher rather than leaving the six looking final. Not every store on the list is actually holding stock right now, which is why a second, smaller figure alongside the full list exists — the gap between the two is exactly the stores worth skipping when a shopper is choosing where to go.
altex-stores answers a different question from per-store availability: not whether one product is in stock somewhere, but where the chain's own locations are at all. body.city and body.region narrow that list by text, and body.network narrows it to one chain — Altex, Media Galaxy or Brico — a split that has nothing to do with body.site's own altex-versus-mediagalaxy choice of storefront. Leave every one of those filters out and the reply still distinguishes a matched subset from the chain's full location count, so a caller always knows whether narrowing actually happened, even before checking how many rows came back.
Two different filters narrow altex-reviews in two different ways: body.rating keeps only the reviews sitting at one exact star count, while body.min_rating elsewhere keeps everything from a floor upward — a shopper who only wants the one-star complaints needs the first, not the second. Ordering flips between the newest voices and the ones other shoppers found most useful, each review arriving with its own star count, title, written text, the name the reviewer chose to show, a posting date, upvote and downvote tallies, whether the purchase itself was confirmed, and any photos or replies attached underneath it.
A merchant's own reply sits inside that same list rather than apart from it, marked so a reader can tell a seller's answer from another shopper's words at a glance. None of this depends on which of the two storefronts a caller is otherwise working through, since the written reviews themselves are the one thing this catalogue does not split between altex and mediagalaxy.
Altex began as a local television importer before growing into the Romanian retailer that sells more electronics, appliances and IT products than any other, with more than 130 stores nationwide. Media Galaxy is a large-format electronics and appliance store format that Altex's own group opened in 2004 as a second retail chain in Romania. Both chains also sell resealed units alongside new stock: a resealed, or open box, product is one whose original packaging was opened and then resealed before being sold again, with that status noted on the listing itself.
POST /api/v1/altex/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).altex-search requires body.query, 3 to 50 characters; a shorter search term is rejected rather than matching every product.altex-category requires one of body.category or body.url; sending neither is rejected rather than listing every category.altex-availability, altex-product and altex-reviews each require one of body.sku or body.url; sending neither is rejected.body.limit is capped at 96 products per page on altex-category and altex-search, and at 50 reviews per page on altex-reviews.body.page goes up to 200 on altex-category and altex-search, and up to 500 on altex-reviews; a page past the end returns no rows.body.brand is checked against this operation's own known brand slugs on altex-category and altex-search; an unrecognised slug is rejected.altex-category's own listing total is exact, while altex-search's own total stops counting at 720 matching products.altex-availability is capped at 6; the row whose real count may be higher than the quantity shown is marked separately.Call altex-availability with the product's body.sku or body.url. The reply's store list carries every store holding that product, each with its own quantity, city, region, address and phone. A second count narrows the store list to just the ones currently holding any stock, so comparing it with the full count says how many of the listed stores actually have stock right now.
sku come from?A product's sku is returned on every listing row from altex-category and altex-search, and on altex-product's own full record; it is the same value the site itself labels as the product code. altex-product's own example input sets body.sku to SMTIP151BL, the code for one Apple iPhone 15 listing.
Send the search term as body.query to altex-search, 3 to 50 characters. Narrow the same call with body.brand, body.price_min and body.price_max in RON, body.in_stock, body.seller_id, body.store_id and body.min_rating, and order it with body.sort; the same filters and sort values work on altex-category for browsing one category instead of searching by keyword.
Call altex-categories, optionally with body.match to keep only the categories whose name or path contains that text. Each returned category also carries its own resealed_count, and its own name as the label to show for that row. The reply's own total counts every row it returns, matched by body.match or not.
body.network on altex-stores keeps one of three store networks: altex, media_galaxy or brico, matching the network value each returned store carries. That three-way split is a separate value from body.site, which instead switches the whole call between the altex and mediagalaxy catalogue storefronts, each written as one word with no underscore.
A row's own seller block names the id, name and type of the offer shown on that row, while a separate seller-id list names every seller with an in-stock offer on the same product. That type is recorded as retailer for Altex's or Media Galaxy's own offer and marketplace for every other seller's own offer.
Call altex-reviews with the product's body.sku or body.url. body.rating keeps only reviews with exactly that many stars, unlike body.min_rating elsewhere, which keeps a threshold and above; body.sort orders them recent, the default, or most_helpful. A separate total also states how many written reviews exist in all, regardless of which page of them a caller currently requests.
resealed Altex listing mean, and where can it be bought?A listing's own resealed count and resealed price on altex-category and altex-search describe its resealed units, and altex-product's own resealed-offers list names each one with its price, discount, reason for its status and the store it is held at, by name, city, region and address.