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
1Maximum
100Default
25cursor
meta.nextCursor of the previous page
Type
string
Responses
Variants
application/json
JSON "ok": true, "data": "string", "meta": { "nextCursor": "string" }
{
}