Model
CreateShippingDocument
Magento\InventoryInStorePickupSales\Model\Order\CreateShippingDocument
What it does
This class creates shipping documents for in-store pickup orders in Magento 2.
Developers use this when they need to programmatically mark an order as shipped for pickup, typically when the order is ready for customer collection at a physical store location.
It validates the order is ready for pickup before creating the shipment.
Public Methods
- execute()