Log in
Interface

SourceCarrierLinkInterface

Magento\InventoryApi\Api\Data\SourceCarrierLinkInterface

What it does

This interface defines a data contract for linking inventory sources (warehouses/stores) with shipping carriers.

Developers use this to associate specific shipping methods with physical inventory locations, allowing Magento to determine which carriers are available for fulfilling orders from each source.

The position property enables prioritizing carriers for a given source.

Public Methods

  • getCarrierCode()
  • setCarrierCode()
  • getPosition()
  • setPosition()
  • getExtensionAttributes()
  • setExtensionAttributes()