required_quantity inventory links so bundle offers deduct the right stock. Triggered by POST /vendor/orders/:id/fulfillments. Emits order.fulfillment_created.
Usage
Input
The order to fulfill.
Order line items and quantities to fulfill; all items must either require shipping or not — mixed requests throw.
Stock location to fulfill from; defaults to the shipping option’s linked location.
Shipping option to fulfill with; defaults to the order’s first shipping method.
Id of the user creating the fulfillment.
Tracking labels to attach.
Suppress customer notification for this fulfillment.
Custom key-value data on the fulfillment.
Custom data passed through to the hooks.
Result
The created fulfillment.
Hooks
fulfillmentCreated— runs after creation with{ fulfillment, additional_data }.