Preview the drafts of a reorder acceptance
Compute the DRAFT purchase orders that accepting the same body would create, without writing anything: no order, no number, no event.
A read, even though it is a POST. - Each draft has its supplier, destination warehouse, expected date and lead time, lines with conversion_factor, tax_rate and tax_source, and amounts; omitted lists what would be left out with its code. - What is previewed is what accepting the same body creates. - At most 100 items, each article once; no Idempotency-Key.
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).
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.
dateRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json