Marketplace analysis
Check Mirakl stock: Understand offer quantities and availability
Check Mirakl offer quantities with AI: read quantity, active status and inactivity reasons together, and distinguish zero values from missing data.
Check Mirakl stock within a specific marketplace and shop. Read the offer’s quantity, active status and any inactivity_reasons together. Reported offer quantity does not establish your entire physical stock. Crucially, zero from the OF26 quantity query can also mean the offer is unavailable.
Backlane provides read access for connected seller accounts. The Mirakl integration explains supported tasks; the documentation covers setup. These prompts are templates, not analyses run against a seller account.
Which quantity does Mirakl report for an offer?
The OF21 offer list supplies available quantity, active status and, for inactive offers, inactivity_reasons. These describe different properties and belong in separate columns. See the official OF21 definitions.
| Field or result | What does it establish? | Next check |
|---|---|---|
quantity above zero | A positive offer quantity is reported. | Read it alongside active status and any restrictions. |
quantity: 0 | The offer query reports zero. | Compare the submitted data and available quantity in the source system. |
active: false | The offer is reported as inactive. | Examine the supplied inactivity_reasons. |
| Quantity or record missing | The requested information is unavailable. | Check the connection, shop, identifier and request. |
Quantity, active status and actual orderability are not interchangeable. To investigate a specific customer observation, also check the correct offer on that marketplace. A query made today does not explain an earlier stockout; that requires saved earlier snapshots.
Which identifiers do you need to match the data?
shop_sku is your offer’s SKU within the shop. product_sku is the marketplace product SKU; offer_id identifies the offer. Do not interchange them because their values look similar. OF21 provides the sku filter for the offer SKU and product_id for the product SKU, as its documentation explains.
Keep the connection and shop alongside the identifiers. Mirakl is the platform behind different operators, not a shared seller account. The same SKU in two shops does not establish an identical product or a shared stock pool. Adding quantities across several offers may also count the same physical stock more than once.
How do you find low quantities and inactive offers?
Choose a threshold, such as “no more than five reported units”. This is your working rule, not Mirakl’s reorder point. Quantity alone does not tell you how many days of sales it covers.
The library also provides a compact prompt for low Mirakl quantities and inactive offers for this check.
Use read-only access to check offers in [Mirakl connection]
and [shop]. Use OF21 and read every results page with max
and offset until the reported total_count is covered, while
respecting request limits. Do not exclude inactive offers.
Count each offer_id within this shop once.
Show offers with quantity <= [threshold] or active=false:
offer_id, shop_sku, product_sku, quantity, active and the
original inactivity_reasons values where supplied.
Separate low quantity and inactivity. Also list offers with
missing quantity or status fields separately.
State the source, shop, retrieval time and completeness.
Flag partial retrievals and conflicting duplicate results.
Suggest a next check for each finding without inventing causes.
Do not change stock or offers.
OF21 supports offset pagination. Reading only the first page produces an incomplete list. If data changes between requests, make conflicting values visible. Missing permissions do not mean there are zero offers.
Why does zero from OF26 not automatically mean “warehouse empty”?
The additional OF26 query returns zero when quantity is zero or the offer is unavailable. A positive value is the available quantity. The OF26 documentation explicitly states this rule.
Mirakl marks OF26 as deprecated, so the main check uses OF21. If your existing integration still offers OF26, its result can provide additional information. An unavailable request remains a data gap; do not substitute zero.
Run a read-only check of offer [offer_id] in [Mirakl connection, shop].
Use the confirmed shop_sku for OF21 and verify that the returned
offer_id matches the intended identifier.
Show quantity, active and reported inactivity_reasons.
If the existing integration still supports OF26, also retrieve
the available quantity for exactly this offer_id.
Show both quantities with their source and individual retrieval times.
Do not infer a physical stock shortage or a specific inactivity
reason from OF26=0. Do not invent replacement values.
Compare the result with my confirmed source stock
[quantity, quantity definition and timestamp] only when product
matching and scope are comparable. Identify differences and
missing evidence. Change nothing and do not start an import.
What does a useful diagnosis look like in an example?
Fictional example: For offer EXAMPLE-7001, OF21 reports twelve units, active: false and NOT_IN_AVAILABILITY_PERIOD. OF26 returns zero. The offer identifier is for illustration only and is not a valid API input.
The documented finding is a positive offer quantity but an inactive offer, with its availability period flagged for checking. The zero from OF26 is not automatically a contradiction. Check the supplied available_start_date and available_end_date values and their time zone. This does not answer the warehouse stocktaking question.
For a second offer, data is missing because a request failed. It belongs under “check access”, not “sold out”. After a reviewed correction, query the same identifiers and compare the recorded values. This keeps the diagnosis traceable without unsupported stock adjustments.
If a specific product import error is also reported, the Mirakl import diagnosis guide walks through its status and error reports. Product imports and offer quantities remain separate checks.