Skip to main content

DefaultShippingLineAssignmentStrategy

This is the default ShippingLineAssignmentStrategy which simply assigns all OrderLines to the ShippingLine, and is suitable for the most common scenario of a single shipping method per Order.

Signature

assignShippingLineToOrderLines

method(ctx: RequestContext, shippingLine: ShippingLine, order: Order) => OrderLine[] | Promise<OrderLine[]>
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page