Get the price breakdown of a pack
Get how the price of a pack is made up: total, tax breakdown, saving and what each component contributes. - price_list_id, client_id, date and channel price the pack for that context.
- The list is chosen as in a document:
price_list_idwins (null= no list), else the default ofclient_idif active; an inactiveprice_list_idanswers 422. - With a promotion on that date and channel,priceand the shares are the promotion ones andregular_priceis the price without it. -warnings[]lists what changes the result. - Send
If-None-Matchto get304.
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 pack.
uuidQuery Parameters
Price list (UUID v7) to price the components with; null means none. Not sent: the default list of client_id applies. Inactive list: 422.
uuidPublic identifier (UUID v7) of a customer contact of the company, the same one a document carries: price the pack for that customer.
uuidDay the price applies to (YYYY-MM-DD, company time zone; default today). It decides the own promotion of the pack.
dateSales channel: documents (default) or web. It decides which own promotion of the pack applies.
"documents" | "web" | nullHeaders
Conditional request: send the ETag you stored from a previous response of this operation (quoted, as received) to get 304 Not Modified without a body when the content has not changed. Omit it to always receive the full response.
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