- 0 minutes to read

6. Order Delivered

Step Overview

Step 6 occurs when the order has been delivered to the customer and confirmed received. This step provides proof of delivery and marks the completion of the logistics portion of the order-to-cash cycle.

Message Details

  • Message Type: O2C.Order.Shipped/1.0
  • Domain: Logistics
  • System: WMS
  • Service: DEL-Order-Delivered
  • Direction: Send (Outgoing from WMS)
  • Format: Flat File (PSV - Pipe-Separated Values)
  • Log Status: 0 (Success) for confirmed delivery, -1337 if delivery fails
  • Timing: Typically 3-7 days after Order Packed

Business Data (Happy Path)

Same customer and product data:

  • Order ID: ORD-10001 (same as source order)
  • Customer ID: CUST-001
  • Product SKU: SKU-DEMO-001
  • Quantity: 1
  • Order Total: USD 99.95

Sample PSV Message

This is the raw message payload that would be base64-encoded in the Log Event Body field. PSV (pipe-separated values) is commonly used in logistics systems.

DeliveryConfirmationHeader
DeliveryId|DeliveryDate|CorrelationId|OrderId|CustomerID|CustomerName|ShippingAddress|DeliveryStatus
DLVY-2025-10001|2025-10-20T14:32:15Z|{PREFIX}-{DATEPART}-{SEQUENCE}|ORD-10001|CUST-001|Acme Corporation|100 Commerce Drive, Suite 100, Springfield, IL 62701|DELIVERED

DeliveryDetails
LineNumber|SKU|Description|QuantityOrdered|QuantityDelivered|Condition
1|SKU-DEMO-001|Demo Widget|1|1|GOOD

DeliveryProof
TrackingNumber|Carrier|DeliverySignature|DeliveryTime|RecipientName|ProofOfDeliveryLocation|PhotoUrl
TRK-20251016-0001|Standard Courier|ACM-AUTO-SIGN|2025-10-20T14:32:15Z|Auto-confirmed|Front Porch|https://pod.courier.example/2025/10/dlvy-10001.jpg

DeliveryFooter
OrderTotal|Currency|ReturnWindow|ReturnInstructions
99.95|USD|30|Visit returns.acme.com

Nodinite Log Event (JSON formatted)

This step creates a Log Event sent to the Nodinite Log API. Refer to Log Event Reference for the complete Log Event structure and field definitions.

Context Properties (Business Data)

{
  "FileName": "ORD-10001-delivery.psv",
  "OrderNumber": "ORD-10001",
  "CustomerId": "CUST-001",
  "CustomerName": "Acme Corporation",
  "OrderAmount": "99.95",
  "DeliveryId": "DLVY-2025-10001",
  "TrackingNumber": "TRK-20251016-0001",
  "DeliveryDate": "2025-10-20T14:32:15Z",
  "ExtendedProperties/1.0#RepositoryBinding": "..."
}

Key Points for Step 6

  1. PSV Format: Pipe-separated values provide compact flat-file delivery confirmation
  2. Proof of Delivery: Includes signature, timestamp, recipient confirmation, and photo proof
  3. Logistics Completion: Marks the end of WMS involvement in the order lifecycle
  4. Internal Service Relation: First use of InternalServiceRelations linking within same WMS system
  5. Same-Domain Flow: Remains in Logistics domain (Index 2, Step 5) for delivery confirmation
  6. Return Window: Included in context for post-delivery customer service scenarios