Skip to content

Stock status + quantity per variant (stock:read)​

GET
/agent/stock

Authorizations​

agentKey

Clé agent créée par le propriétaire de la marketplace (Sources › Réglages communs › Clés API). Authorization: Bearer mk_live_… ou X-Api-Key. Lecture seule, limitée aux portées choisies, valable uniquement sur /agent/*.

Type
HTTP (bearer)

Parameters​

Query Parameters

sku
Type
string
product_id
Type
string
status
Type
string
Valid values
"instock""outofstock""onbackorder"
limit
Type
integer
Minimum
1
Maximum
100
Default
25
cursor

meta.nextCursor of the previous page

Type
string

Responses​

Variants

application/json
JSON
{
  
"ok": true,
  
"data": "string",
  
"meta": {
  
  
"nextCursor": "string"
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai