Log in
Interface

ShipmentCreationArgumentsInterface

Magento\Sales\Api\Data\ShipmentCreationArgumentsInterface

What it does

This interface defines the contract for passing additional arguments when creating shipments in Magento 2.

Developers use this interface to extend shipment creation functionality by adding custom attributes through extension attributes, allowing third-party modules to inject additional data during the shipment creation process without modifying core code.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()