Retrieve the stock availability of an article
Retrieve the availability of one article by its id: physical, committed (reserved plus in delivery notes of a sales order not delivered yet), available, the breakdown per warehouse with incoming purchases and transfers in transit, and when it was calculated. - Narrow it to one variant and one warehouse; for_sales_order adds what belongs to that order. - Incoming and in-transit goods are informative: they never change the available figure. - A foreign sales order is 422 invalid_param_value on for_sales_order; a foreign article answers like a missing one.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidPublic identifier (UUID v7) of the product.
uuidQuery Parameters
Public ID of the variant asked about. Omit it to answer for the whole article, adding up its variants.
uuidPublic ID of the warehouse to narrow the figures to. Omit it for the total across every warehouse plus the breakdown.
uuidPublic ID of one of your sales orders: adds the part of the article's commitment that is that order's (reserved_own_*, in_delivery_notes_own_*). Another company's order is rejected with 422.
uuidHeaders
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json