A SKU is missing from the Magento 2 BaseLinker export. How do you tell it from zero stock?

1 min read

An empty black frame beside a silver ring, separated by a narrow gold strip

An omitted SKU and an explicit 0 result in different update requests. The Magento export matches the SKU to a BaseLinker product or variant. The stock update then uses that record’s ID and the warehouse key.

Compare three example SKUs

The module 1.0.12 test used catalog 307, warehouse bl_206 and the update-only strategy. The calculator returned 7 for BL-03 without a matching product in the destination catalog. Exporter documentation.

Three results from a local test with a mock API client
SKUBaseLinker IDQuantity in requestOutcome
BL-0126854Quantity update
BL-0226870Explicit zero
BL-03——Skipped, no match

Read the batch prepared in test mode

Run test mode for your sample SKUs and record the run ID. Compare the batch in the log with the list of skipped items. In the example, the counter showed two prepared updates. Test mode made zero stock-write requests to BaseLinker.

Reconcile the result in the destination catalog

Confirm the account, catalog, warehouse and product or variant ID. The products field of updateInventoryProductsStock lists the records to update. For an omitted SKU, check the reason in the log. After an approved test write, compare the quantity in the test warehouse and any API warnings against the ID. Base API documentation.

Magento 2 BaseLinker Stock Export · Checking SKU and MSI source data.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)