Change Shipping Method

Change the shipping method for shipments to a specified method.

Overview

The Change Shipping Method step changes the shipping method for shipments to a method specified in the configuration. It supports conditional changes based on warehouse/pickup location matching.

Identifier

PropertyValue
KeyChangeShippingMethod
GroupShipments
Applicable StatusesNew

Configuration Properties

PropertyTypeRequiredDefaultDescription
DefaultShippingMethodNameStringYes-The shipping method to change to
ConditionPickupEqualsWarehouseBooleanNofalseOnly change if pickup location equals warehouse
ConditionPickupNotEqualsWarehouseBooleanNofalseOnly change if pickup location differs from warehouse

Behavior

What It Does

  1. Gets the configured DefaultShippingMethodName from properties
  2. Looks up the shipping option for the market
  3. If running at shipment level, processes only the current shipment
  4. If running at order level, processes all shipments based on conditions:
    • If ConditionPickupEqualsWarehouse is true, only changes when WarehouseCode == PickUpWarehouseCode
    • If ConditionPickupNotEqualsWarehouse is true, only changes when they differ
  5. Updates ShippingMethodName and ShippingLabel on matching shipments

Prerequisites

  • Shipping method must exist for the market
  • Shipments must not already have the target method

Side Effects

  • Shipment shipping method name updated
  • Shipping label updated
  • May affect shipping costs

Business Cases

When to Use

  • Click-and-collect: Change method when customer picks up at store
  • Warehouse-specific methods: Different methods for different warehouses
  • Override default: Force specific shipping method

Example Scenarios

Scenario 1: Force Specific Method Configure DefaultShippingMethodName=EXPRESS. All shipments get EXPRESS method.

Scenario 2: Pickup at Store Configure with ConditionPickupEqualsWarehouse=true. Only shipments picking up at their warehouse get the method changed.

Scenario 3: Ship from Different Location Configure with ConditionPickupNotEqualsWarehouse=true. Changes method only when shipping from a different location than pickup.

Error Handling

ConditionResultContinues Workflow?
No default method configuredSuccess (no action)Yes
Shipping option not foundSuccess (no action)Yes
Change successfulSuccessYes
ExceptionErrorDepends on StopOnError

On this page