Skip to content

Vendor stock API — the calling vendor's articles (stock, price pair)​

GET
/vendor-api/stock

For a vendor's own software. Authenticated by a vendor API key with the stock scope (Authorization: Bearer vk_… or X-Api-Key), created by the vendor in its back office (« Mise à jour du stock » › API) or by the marketplace on its behalf; no login, no JWT. The key IS the vendor: only its own articles are read.

price = regular selling price, salePrice = promotional price when a promotion runs.

Calls are rate limited per key and per IP: a 429 means « try again later ».

Authorizations​

vendorStockKey

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.

Type
HTTP (bearer)

Parameters​

Query Parameters

reference

Product reference (its SKU)

Type
string
sku

Article SKU

Type
string
page
Type
integer
Minimum
1
Default
1
pageSize
Type
integer
Minimum
1
Maximum
500
Default
200

Responses​

Articles

application/json
JSON
{
  
"ok": true,
  
"data": {
  
  
"items": [
  
  
  
{
  
  
  
  
"reference": "string",
  
  
  
  
"sku": "string",
  
  
  
  
"ean": "string",
  
  
  
  
"title": "string",
  
  
  
  
"size": "string",
  
  
  
  
"color": "string",
  
  
  
  
"stock": 0,
  
  
  
  
"price": 0,
  
  
  
  
"salePrice": 0,
  
  
  
  
"erpManaged": true
  
  
  
}
  
  
],
  
  
"pagination": {
  
  
  
"page": 0,
  
  
  
"pageSize": 0,
  
  
  
"total": 0
  
  
}
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai