Log in
Model

ShipOrder

Magento\Sales\Model\ShipOrder

What it does

This class handles the creation and processing of shipments for orders in Magento 2.

Developers would use this service class when programmatically creating shipments, as it orchestrates the entire shipment creation process including validation, saving the shipment, updating order status, and sending notifications.

It implements the ShipOrderInterface and ensures data integrity through database transactions and order mutex locking.

Public Methods

  • execute()