Factuarea APIDevelopers
Added

Warehouse and channels: stock, transfers, carriers and transport documents, shipments and labels, store events

Stock adjustment with reason, note and scope, a negative guard per warehouse, editable transfers with transport and preparation, own fleet carriers, shipment labels by package, richer webhook payloads for transfers and a reorder that creates its drafts in the destination warehouse. 3 new operations, 64 updated ones, 3 new MCP tools and 5 new subcodes.

2 December 2026 — The warehouse and channels side of the omnichannel ERP gains the operations and fields that run stock, transfers, shipments and the transport documents of a company from the API: an adjustment that states its reason and its scope, transfers that can be edited and prepared line by line, carriers that declare their own fleet, labels that choose their packages and paper, and webhook payloads that name the lines of each transfer movement. The company axis (/v1/companies/{company}/…) is unchanged, and no operation is removed or renamed.

What is new

  • Transfers, 3 new operations. stock_transfers.update (PATCH …/stock-transfers/{stock_transfer}) edits the header of a transfer, its transport included, stock_transfers.lines.update (PATCH …/lines/{line}) edits one of its lines, and stock_transfers.preparation.update (PUT …/preparation) records what has been prepared on each line.
  • MCP. 3 new tools: update_stock_transfer, update_stock_transfer_line and prepare_stock_transfer. Eighteen existing tools publish a new description or input schema, and each publishes the same changes as its operation. See the tool catalog.
  • Rejection codes. No new top-level code. 5 new subcodes of business_rule_violation (422): warehouse_stock_cannot_be_negative, stock_transfer_transport_locked, stock_transfer_warehouses_frozen, stock_transfer_prepared_exceeds_quantity and stock_transfer_line_duplicated (param: lines, a line named twice when saving the preparation). See All rejection codes.

Summary by group

  • Stock and ledger. The adjustment (products.update_stock, products.bulk_update_stock) accepts adjustment_reason, note and quantity_scope (total or warehouse). The stock ledger (stock_movements.list, products.stock_movements.list) filters by source_id and names the origin of each row. Availability (stock_availability.list, .show, .batch) publishes last_location per warehouse, incoming[].status, pending_purchase_quantity and purchase_unit_code. The product activity feed records the acceptance of a reorder as product.reorder_accepted. See Inventory and warehouses.
  • Reorder. purchase_reorder_suggestions.preview and .accept take warehouse_id at the root and in each item, and items[].expected_date. See Purchasing and receiving.
  • Transfers. The creation (stock_transfers.create) takes transport and lines[]; transport publishes carrier_is_own_fleet; the cancellation takes reason; the PDF (stock_transfers.pdf) takes copies from 1 to 3; the three new operations above complete the editing.
  • Carriers and transport documents. carriers.create and carriers.update take is_own_fleet, and every carrier read publishes it. The transport documents operations describe the warning own_fleet_source. See Transport control document (DeCA).
  • Shipments and labels. The shipment publishes province in delivery_address, the timestamps of each step and attempt. The picking list publishes stale, cleared_package_contents, and in each line unit_code, presentation_label and note. The label (delivery_notes.shipping_label) takes package_ids and paper. See Fulfilment and returns.
  • Events. The payloads of stock_transfer.cancelled, stock_transfer.dispatched and stock_transfer.received publish more, and events.list, events.show, webhook_endpoints.deliveries.list and webhook_endpoints.deliveries.show describe them. See Events and Ecommerce stores.

Sixty-four operations that already existed describe more in the contract: 5 of carriers, 7 of delivery notes and shipments, 4 of events and webhook deliveries, 19 of products, 3 of availability, 2 of the stock ledger, 2 of reorder, 11 of transfers and 11 of transport documents. The shipment operations publish province, the transfers publish carrier_is_own_fleet and the transport documents describe the warning own_fleet_source.

Behaviors the contract defines

  1. A warehouse adjustment cannot leave the warehouse negative. With quantity_scope warehouse, an adjustment that would leave that warehouse with a negative quantity responds 422 with code business_rule_violation, subcode warehouse_stock_cannot_be_negative and param warehouse_id. The details of the response carry warehouse_id, current and requested. A batch (products.bulk_update_stock) is applied as a whole or not at all. Without a named warehouse there is no guard. The tools are update_product_stock and bulk_update_stock.
  2. Reprocessing a store event issues the invoice. integrations.events.replay (tool replay_integrations_event) reprocesses the event of a store (woocommerce, shopify, prestashop) and issues the invoice of that order. The shape of the response does not change.
  3. failure_reason is optional. delivery_notes.fulfilment_status.transition accepts a transition to a failed delivery with or without failure_reason, which is nullable in DeliveryNoteShipment. With any other target status the field is still not accepted (prohibited_unless).
  4. Transfer events name their lines. stock_transfer.cancelled publishes reason and returned_lines ({line_id, quantity}), stock_transfer.dispatched publishes dispatched_lines ({line_id, quantity}) and stock_transfer.received publishes received_lines ({line_id, quantity, pending_after}), next to the resource. The names differ from object.lines on purpose.
  5. The transport document proposal skips own fleet carriers. When transport_documents.create proposes a draft from a delivery note or a transfer, a carrier with is_own_fleet true is not proposed, and the response carries a warning with the code own_fleet_source in warnings[]. It is a warning and not a rejection.
  6. Reopening the preparation empties the package contents. delivery_notes.picking_list.open (tool open_delivery_note_picking_list) keeps the packages and empties their contents, and cleared_package_contents says how many entries were emptied, or null when there was no reopening.
  7. Incoming counts sent orders that are not yet confirmed. In stock_availability.{list,show,batch}, incoming, incoming_total and next_incoming count the purchase orders in status sent, confirmed and partially_received, each with its incoming[].status. The tools are get_stock_availability, get_stock_availability_batch and search_stock_availability.
  8. A reorder creates one draft per warehouse. purchase_reorder_suggestions.preview and .accept resolve the destination warehouse of each item: the warehouse_id of the item or of the request, then the preferred warehouse of the product, then the default warehouse of the company. A supplier can therefore have one draft per warehouse. A warehouse of another company, missing or archived responds 422 on warehouse_id.
  9. A delivery note created without a warehouse takes the one of the ledger. delivery_notes.create and create_delivery_note, without warehouse, publish in warehouse the one that the stock ledger resolves for all its lines when it is the same: the preferred warehouse of the product or, without one, the default warehouse of the company.
  10. The individual stock adjustment publishes the code and the parameter of insufficient stock. products.update_stock and update_product_stock respond 422 with code parameter_invalid_value and param stock_quantity when the stock is not enough, as the batch does.
  11. availability is net of reservations. The availability of a product, a variant and a presentation (products.list, products.show, products.search, products.find_by_sku, products.find_by_external_id, products.create, products.update and the other operations that return a product) publishes the available quantity: the physical stock minus what is reserved. The storefront availability (storefront.availability.show, storefront.availability.bulk_resolve) and the tools get_product, search_products, find_product_by_sku and find_product_by_external_id publish the same figure. The physical quantity remains in stock.

Transfers also publish the rules of the transport of a transfer: a dispatched transfer accepts only the tracking and the expected arrival, and a received or cancelled one accepts none of them (422, subcode stock_transfer_transport_locked, param the field of the transport); the warehouses of a transfer cannot be changed after the creation (stock_transfer_warehouses_frozen, param origin_warehouse_id or destination_warehouse_id); and the preparation is all or nothing (stock_transfer_prepared_exceeds_quantity, param lines).

Inventory and warehouses, Fulfilment and returns, Transport control document (DeCA), Purchasing and receiving, Events, Ecommerce stores, the tool catalog and All rejection codes.

New endpoints3

EndpointDescription
PATCH/v1/companies/{company}/stock-transfers/{stock_transfer}/lines/{line}Update a line of a stock transfer
PUT/v1/companies/{company}/stock-transfers/{stock_transfer}/preparationSave the preparation of a stock transfer
PATCH/v1/companies/{company}/stock-transfers/{stock_transfer}Update a stock transfer

Updated endpoints64

EndpointDescription
POST/v1/companies/{company}/carriersCreate a carrier
POST/v1/companies/{company}/carriers/find-by-codeFind a carrier by code
GET/v1/companies/{company}/carriersList all carriers
GET/v1/companies/{company}/carriers/{carrier}Retrieve a carrier
PATCH/v1/companies/{company}/carriers/{carrier}Update a carrier
POST/v1/companies/{company}/delivery-notes/{delivery_note}/fulfilment-statusTransition the fulfilment status of a delivery note
POST/v1/companies/{company}/delivery-notes/{delivery_note}/picking-lines/{picking_line}/pickMark a picking line
POST/v1/companies/{company}/delivery-notes/{delivery_note}/picking-listOpen the picking list of a delivery note
GET/v1/companies/{company}/delivery-notes/{delivery_note}/picking-listRetrieve the picking list of a delivery note
GET/v1/companies/{company}/delivery-notes/{delivery_note}/shipmentRetrieve the shipment of a delivery note
PATCH/v1/companies/{company}/delivery-notes/{delivery_note}/shipmentUpdate the shipment of a delivery note
GET/v1/companies/{company}/delivery-notes/{delivery_note}/shipping-labelDownload the shipping label PDF
GET/v1/companies/{company}/eventsList all events
GET/v1/companies/{company}/events/{event}Retrieve an event
POST/v1/companies/{company}/products/{product}/base-unit-replacementReplace a product by changing its base unit
POST/v1/companies/{company}/products/bulk-update-stockUpdate stock for many products
POST/v1/companies/{company}/productsCreate a product
POST/v1/companies/{company}/products/find-by-external-idFind a product by external ID
POST/v1/companies/{company}/products/find-by-skuFind a product by SKU
GET/v1/companies/{company}/productsList all products
GET/v1/companies/{company}/products/low-stock-reportList products below the stock threshold
POST/v1/companies/{company}/products/{product}/presentationsCreate a product presentation
GET/v1/companies/{company}/products/{product}/presentationsList product presentations
PATCH/v1/companies/{company}/products/{product}/presentations/{presentation}Update a product presentation
GET/v1/companies/{company}/products/searchSearch products
GET/v1/companies/{company}/products/{product}Retrieve a product
GET/v1/companies/{company}/products/{product}/stock-movementsList stock movements of a product
POST/v1/companies/{company}/products/{product}/toggle-activeToggle product active state
PATCH/v1/companies/{company}/products/{product}Update a product
PATCH/v1/companies/{company}/products/{product}/stockUpdate product stock
POST/v1/companies/{company}/products/{product}/variantsCreate a product variant
GET/v1/companies/{company}/products/{product}/variantsList product variants
PATCH/v1/companies/{company}/products/{product}/variants/{variant}Update a product variant
POST/v1/companies/{company}/products/{product}/videoUpload a video to a product
POST/v1/companies/{company}/purchase-reorder-suggestions/acceptAccept a reorder suggestion
POST/v1/companies/{company}/purchase-reorder-suggestions/previewPreview the drafts of a reorder acceptance
POST/v1/companies/{company}/stock-availability/batchRetrieve stock availability in batch
GET/v1/companies/{company}/stock-availabilityList stock availability
GET/v1/companies/{company}/stock-availability/{product}Retrieve the stock availability of an article
GET/v1/companies/{company}/stock-movementsList the stock movements of the company
POST/v1/companies/{company}/stock-transfers/{stock_transfer}/cancelCancel a stock transfer
POST/v1/companies/{company}/stock-transfersCreate a stock transfer
POST/v1/companies/{company}/stock-transfers/{stock_transfer}/dispatchDispatch a stock transfer
POST/v1/companies/{company}/stock-transfers/{stock_transfer}/linesAdd a line to a stock transfer
DEL/v1/companies/{company}/stock-transfers/{stock_transfer}/lines/{line}Remove a line from a stock transfer
GET/v1/companies/{company}/stock-transfers/{stock_transfer}/linesList the lines of a stock transfer
GET/v1/companies/{company}/stock-transfersList all stock transfers
GET/v1/companies/{company}/stock-transfers/{stock_transfer}/pdfDownload stock transfer note PDF
POST/v1/companies/{company}/stock-transfers/{stock_transfer}/receiveReceive a stock transfer
GET/v1/companies/{company}/stock-transfers/{stock_transfer}Retrieve a stock transfer
GET/v1/companies/{company}/stock-transfers/statusesList stock transfer statuses
POST/v1/companies/{company}/transport-documents/{transport_document}/cancelCancel a transport document
POST/v1/companies/{company}/transport-documents/{transport_document}/closeClose a transport document
POST/v1/companies/{company}/transport-documentsCreate a transport document
GET/v1/companies/{company}/transport-documentsList all transport documents
POST/v1/companies/{company}/transport-documents/{transport_document}/issueIssue a transport document
POST/v1/companies/{company}/transport-documents/{transport_document}/modifyModify an issued transport document
POST/v1/companies/{company}/transport-documents/{transport_document}/reopenReopen a transport document
POST/v1/companies/{company}/transport-documents/{transport_document}/sendSend a transport document by email
GET/v1/companies/{company}/transport-documents/{transport_document}Retrieve a transport document
POST/v1/companies/{company}/transport-documents/{transport_document}/supersedeMark a transport document as superseded
PATCH/v1/companies/{company}/transport-documents/{transport_document}Update a draft transport document
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveriesList webhook deliveries
GET/v1/companies/{company}/webhook-endpoints/{webhook_endpoint}/deliveries/{delivery}Retrieve webhook delivery

On this page

Need a hand?Contact support