Complete Shipment

Finalize shipments and notify shipping providers about completed shipments.

Overview

The Complete Shipment step finalizes released shipments by notifying the shipping provider and updating the shipment status to shipped. It returns shipping label links when available.

Identifier

PropertyValue
KeyCompleteShipment
GroupShipments
Applicable StatusesShip, Completed, ReadyForPickup

Configuration Properties

This step has no configurable properties.

Behavior

What It Does

  1. Identifies shipments with Released or SplittedShippedShipment status
  2. If running at shipment level, only processes the current shipment
  3. For each eligible shipment:
    • Notifies the shipping provider that the shipment is complete
    • Retrieves shipping label links
    • Updates shipment status to shipped
  4. Returns label links in the result for UI display

Prerequisites

  • Shipments must be in Released status
  • Shipping provider must be configured

Side Effects

  • Shipment status updated to Shipped
  • Shipping provider notified (booking created)
  • Tracking number assigned
  • Label links generated

Business Cases

When to Use

  • Order fulfillment: Final step when shipping orders
  • Label generation: Trigger shipping label creation
  • Carrier notification: Inform carrier about shipment

Example Scenarios

Scenario 1: Standard Ship Order picked and ready. Step completes shipment, notifies carrier, returns label PDF link.

Scenario 2: Multi-Shipment Order has multiple shipments. Running at order level completes all released shipments.

Scenario 3: Click-and-Collect Pickup order ready. Step completes shipment for record-keeping (may not generate carrier label).

Scenario 4: Already Shipped Shipment already in Shipped status. Step returns warning.

Error Handling

ConditionResultContinues Workflow?
No released shipmentsWarningYes
Completion successfulSuccess (with label links)Yes
Provider errorErrorNo (cancels workflow)

On this page