Vendor stock API — update stock and/or prices of the calling vendor's articles
dryRun defaults to TRUE (JSON boolean): the answer lists what would change and nothing is written; send "dryRun": false to apply. ≤ 2,000 items per call, body ≤ 2 MB, one write at a time per vendor (409).
Each item names ONE article of the vendor — sku (article SKU, or the product SKU of a product without sizes), else ean, else reference + size (+ color) — and carries stock and/or price (+ salePrice: below price; null ends the promotion; absent keeps a running promotion that is still below the new price). Unknown, ambiguous, duplicated or ERP-fed articles come back in notFound with their index — never guessed, never created (this API cannot create products, nor change designations / photos).
Same write path as a file import (stock_price): Wildkard copies follow, connected stores get the stock, search is reindexed; price and stock need no Wildkard re-approval. A strict-ERP vendor's stock is never written (stockBlockedBy: strict_erp).
Authorizations
Clé API vendeur avec la portée stock (Authorization: Bearer vk_… ou X-Api-Key: vk_…). Créée par le vendeur dans Sources › Réglages communs › Clés API. Valable uniquement sur /vendor-api/stock.
Request Body
Responses
What changed (or would change)