POST /api/ikea/products/stock
Price: 20 credits
Get IKEA stock of a product in every store of a market, with quantities, restock dates and aisle locations, plus home delivery and click and collect for a postal code
Check where one IKEA product is in stock across a market's stores. Pass zip_code to get the delivery price, delivery dates and click and collect for that address. Store rows include plan-and-order points and pop-up locations; a few rows carry only the location id and stock, with no name or address.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)country string — IKEA market (default: "us"; one of: "ae", "at", "au", "be", "bh", "ca", "ch", "cl", "cn", "co", "cz", "de", "dk", "ee", "eg", "es", "fi", "fr", "gb", "hr", "hu", "ie", "il", "in", "it", "jo", "jp", "kr", "kw", "lt", "lv", "ma", "mx", "my", "nl", "no", "nz", "om", "ph", "pl", "pt", "qa", "ro", "rs", "sa", "se", "sg", "si", "sk", "th", "ua", "us")language string nullable — Site language of the market; English where the market offers it when omitted (one of: "ar", "cs", "da", "de", "en", "es", "et", "fi", "fr", "he", "hr", "hu", "it", "ja", "ko", "lt", "lv", "ms", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "th", "uk", "zh")product string required — IKEA item number or product URL; a URL's market and language apply when country is omitted (examples: "20522046", "s19445469", "https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/"; minLength: 1)zip_code string nullable — Postal code for home delivery and click and collect (examples: "10001"; pattern: ^[0-9A-Za-z][0-9A-Za-z -]{1,10}$)@type string (default: "IkeaStock")id string requireditem_type string nullablecountry string requiredzip_code string nullabledelivery object nullable@type string (default: "IkeaDelivery")is_available boolean nullableis_in_range boolean nullablestock_level string nullableis_parcel boolean nullablehas_limited_methods boolean nullableis_stock_notification_eligible boolean nullableprice number nullablemin_price number nullablecurrency string nullabledelivery_type string nullableearliest_date string nullablefrom_date string nullableto_date string nullablemin_days integer nullablemax_days integer nullableupdated_at integer nullableis_available_for_click_collect boolean nullablestore_count integer nullablein_stock_store_count integer nullablestores array (default: [])@type string (default: "IkeaStoreStock")store_id string requiredstore_name string nullablestore_type string nullablecity string nullablestate string nullablepostal_code string nullablelatitude number nullablelongitude number nullablestore_url string nullableis_available_for_cash_carry boolean nullableis_available_for_click_collect boolean nullableis_in_range boolean nullableis_click_collect_in_range boolean nullablequantity integer nullablestock_level string nullablestock_updated_at integer nullableis_stock_notification_eligible boolean nullabletags array (default: [])restocks array (default: [])@type string (default: "IkeaRestock")quantity integer nullableearliest_date string nullablelatest_date string nullablereliability string nullablerestock_type string nullableupdated_at integer nullableshelf_locations array (default: [])@type string (default: "IkeaShelfLocation")id string requiredaisle string nullablebin string nullabledivision string nullablelocation_type string nullablerecommendation_rank integer nullable422 — IKEA does not recognise this postal code in this market. Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — The product is not sold in this market or no IKEA product has this item number. Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.