diff --git a/packages/core/src/service/services/order.service.ts b/packages/core/src/service/services/order.service.ts index 591656377e..715db9857b 100644 --- a/packages/core/src/service/services/order.service.ts +++ b/packages/core/src/service/services/order.service.ts @@ -876,6 +876,7 @@ export class OrderService { let shippingLine: ShippingLine | undefined = order.shippingLines[i]; if (shippingLine) { shippingLine.shippingMethod = shippingMethod; + shippingLine.shippingMethodId = shippingMethod.id; } else { shippingLine = await this.connection.getRepository(ctx, ShippingLine).save( new ShippingLine({