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, andstock_transfers.preparation.update(PUT …/preparation) records what has been prepared on each line. - MCP. 3 new tools:
update_stock_transfer,update_stock_transfer_lineandprepare_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_quantityandstock_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) acceptsadjustment_reason,noteandquantity_scope(totalorwarehouse). The stock ledger (stock_movements.list,products.stock_movements.list) filters bysource_idand names the origin of each row. Availability (stock_availability.list,.show,.batch) publisheslast_locationper warehouse,incoming[].status,pending_purchase_quantityandpurchase_unit_code. The product activity feed records the acceptance of a reorder asproduct.reorder_accepted. See Inventory and warehouses. - Reorder.
purchase_reorder_suggestions.previewand.accepttakewarehouse_idat the root and in each item, anditems[].expected_date. See Purchasing and receiving. - Transfers. The creation (
stock_transfers.create) takestransportandlines[];transportpublishescarrier_is_own_fleet; the cancellation takesreason; the PDF (stock_transfers.pdf) takescopiesfrom 1 to 3; the three new operations above complete the editing. - Carriers and transport documents.
carriers.createandcarriers.updatetakeis_own_fleet, and every carrier read publishes it. The transport documents operations describe the warningown_fleet_source. See Transport control document (DeCA). - Shipments and labels. The shipment publishes
provinceindelivery_address, the timestamps of each step andattempt. The picking list publishesstale,cleared_package_contents, and in each lineunit_code,presentation_labelandnote. The label (delivery_notes.shipping_label) takespackage_idsandpaper. See Fulfilment and returns. - Events. The payloads of
stock_transfer.cancelled,stock_transfer.dispatchedandstock_transfer.receivedpublish more, andevents.list,events.show,webhook_endpoints.deliveries.listandwebhook_endpoints.deliveries.showdescribe 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
- A warehouse adjustment cannot leave the warehouse negative. With
quantity_scopewarehouse, an adjustment that would leave that warehouse with a negative quantity responds422with codebusiness_rule_violation, subcodewarehouse_stock_cannot_be_negativeandparamwarehouse_id. Thedetailsof the response carrywarehouse_id,currentandrequested. 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 areupdate_product_stockandbulk_update_stock. - Reprocessing a store event issues the invoice.
integrations.events.replay(toolreplay_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. failure_reasonis optional.delivery_notes.fulfilment_status.transitionaccepts a transition to a failed delivery with or withoutfailure_reason, which isnullableinDeliveryNoteShipment. With any other target status the field is still not accepted (prohibited_unless).- Transfer events name their lines.
stock_transfer.cancelledpublishesreasonandreturned_lines({line_id, quantity}),stock_transfer.dispatchedpublishesdispatched_lines({line_id, quantity}) andstock_transfer.receivedpublishesreceived_lines({line_id, quantity, pending_after}), next to the resource. The names differ fromobject.lineson purpose. - The transport document proposal skips own fleet carriers. When
transport_documents.createproposes a draft from a delivery note or a transfer, a carrier withis_own_fleettrueis not proposed, and the response carries a warning with the codeown_fleet_sourceinwarnings[]. It is a warning and not a rejection. - Reopening the preparation empties the package contents.
delivery_notes.picking_list.open(toolopen_delivery_note_picking_list) keeps the packages and empties their contents, andcleared_package_contentssays how many entries were emptied, ornullwhen there was no reopening. - Incoming counts sent orders that are not yet confirmed. In
stock_availability.{list,show,batch},incoming,incoming_totalandnext_incomingcount the purchase orders in statussent,confirmedandpartially_received, each with itsincoming[].status. The tools areget_stock_availability,get_stock_availability_batchandsearch_stock_availability. - A reorder creates one draft per warehouse.
purchase_reorder_suggestions.previewand.acceptresolve the destination warehouse of each item: thewarehouse_idof 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 responds422onwarehouse_id. - A delivery note created without a warehouse takes the one of the ledger.
delivery_notes.createandcreate_delivery_note, withoutwarehouse, publish inwarehousethe 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. - The individual stock adjustment publishes the code and the parameter of insufficient
stock.
products.update_stockandupdate_product_stockrespond422with codeparameter_invalid_valueandparamstock_quantitywhen the stock is not enough, as the batch does. availabilityis net of reservations. Theavailabilityof 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.updateand 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 toolsget_product,search_products,find_product_by_skuandfind_product_by_external_idpublish the same figure. The physical quantity remains instock.
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).
Where to read next
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
| Endpoint | Description |
|---|---|
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}/preparation | Save the preparation of a stock transfer |
PATCH/v1/companies/{company}/stock-transfers/{stock_transfer} | Update a stock transfer |