Factuarea APIDevelopers

List the commitments over an article

List what is committing stock of one article: live reservations and undelivered delivery notes (kind), each with its id, holder, warehouse, quantity, expiry and the variant of its stock destination (variant_id, null for the article itself).

  • variant_id in the query keeps only that variant's commitments (empty list if it is not a variant of this article); they add up to physical minus available of that destination.
  • Released, consumed or expired reservations and delivered, cancelled or deleted delivery notes are excluded.
  • Another company's article answers as not found.
GET
/companies/{company}/stock-availability/{product}/commitments

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
product*string

Public identifier (UUID v7) of the product.

Formatuuid

Query Parameters

variant_id?|

Public ID (UUID v7) of one variant of the article: only the commitments of its stock destination. An ID that is not a variant of this article yields an empty list.

Formatuuid

Headers

Factuarea-Version?string

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.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json