Log in
Interface

ShipmentCommentCreationInterface

Magento\Sales\Api\Data\ShipmentCommentCreationInterface

What it does

This interface defines the contract for creating shipment comments in Magento 2.

Developers use this when they need to add comments to shipments programmatically through the API, such as tracking notes or internal messages.

It extends both ExtensibleDataInterface for custom attributes and CommentInterface for basic comment properties like text and visibility.

Public Methods

  • getExtensionAttributes()
  • setExtensionAttributes()