domain

Returns

The Returns subdomain handles items customers send back. It accepts return requests, approves them against the returns policy, and confirms when returned items arrive at the warehouse so they can be refunded and restocked.

DomainSupporting subdomain

Overview

The Returns subdomain is part of the FulfilmentFulfilmentDomainv1.0.0The Fulfilment domain gets a confirmed order to the customer. It reserves stock, picks and packs orders in the warehouse...Ownerfulfilment-platformMapView docs domain and runs the reverse logistics journey through the Returns SystemReturns SystemSystemv1.0.0Internal system that accepts, approves and tracks customer returns through to their arrival back at the warehouse. Ownerfulfilment-platformMapView docs.

  1. A customer sends Request ReturnRequest ReturnCommandv1.0.0Command sent by a customer to return one or more items from a delivered order. Ownerfulfilment-platformSchemaMapView docs and the Returns APIReturns APIServicev1.0.0Public API customers use to start a return. Validates the request against the original order and records it. Publishesreturn-requestedSubscribesrequest-returnOwnerfulfilment-platformMapRepoView docs publishes Return RequestedReturn RequestedEventv1.0.0Published when a customer has requested to return items from an order. Ownerfulfilment-platformSchemaMapView docs.
  2. The Returns ProcessorReturns ProcessorServicev1.0.0Applies the returns policy to new requests and tracks returned parcels until they arrive back at the warehouse. Publishesreturn-approved, return-receivedSubscribesreturn-requestedOwnerfulfilment-platformMapRepoView docs checks the returns policy and publishes Return ApprovedReturn ApprovedEventv1.0.0Published when a return request passes the returns policy and the customer can send the items back. Ownerfulfilment-platformSchemaMapView docs.
  3. When the parcel reaches the warehouse it publishes Return ReceivedReturn ReceivedEventv1.0.0Published when returned items have arrived at the warehouse and been inspected. Ownerfulfilment-platformSchemaMapView docs — Payments refunds the customer and Inventory restocks the items.

Architecture diagram

Event-driven architecture documentation: Acme Inc