Factuarea APIDevelopers
Improved

Packs: options without a combination, a single product by weight and a required variant

A pack component accepts the options of a product with no declared combinations, a single-product pack is valid with 2 or more in its unit, and a component without the variant of a product with variants is rejected on save. 3 updated operations and the MCP tools that mirror them.

December 3, 2026 — Creating and editing a pack now apply to its components the same selection rules as a document line. No operation is new and no field changes: the 3 that change are listed at the end of this page and link to their API Reference page.

Options without a combination

A product with no declared combinations (or without the exact combination chosen) accepts its option values in option_value_ids without configuration_id, just like a document line. They are validated the same way: the value must exist, be active and be offered for the component's variant and presentation, and required groups must be chosen. Otherwise the response is 422. The component is priced with its option's price adjustment, and the sub-line it expands into a document carries those options. Two components of the same product with different options are two components.

A single product with 2 or more in its unit

A single-product pack is valid with a quantity of 2 or more in its unit: two bottles, 2 L of wine or 2 kg of cheese. Before, the single product had to be counted in units. Below 2 the response is still 422 pack_composition_too_small.

The variant is required

A component without variant_id of a product with active variants is rejected on save with 422 invalid_pack_component. Before, it was saved and the pack was left unsellable (sellable.code: component_unsellable). Packs saved that way are still read the same; saving them again is what asks for the variant.

MCP tools

create_pack and update_pack follow the same rules as POST and PATCH. The company comes from the MCP session. See the tool catalog.

Updated endpoints3

EndpointDescription
POST/v1/companies/{company}/packsCreate a pack
PATCH/v1/companies/{company}/packs/{pack}Update a pack
GET/v1/companies/{company}/packs/{pack}/price-breakdownGet the price breakdown of a pack

On this page

Need a hand?Contact support