Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Acknowledge basket deletion completed

Reports Finance's successful basket-cleanup outcome to Order API without changing the Order's business status.

Order Lifecycle

DeleteBasketCompleteCommand (v1.0.0) is an asynchronous Kafka integration command published by Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs to inform Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs that post-checkout basket cleanup succeeded. Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs logs the outcome for operational visibility without modifying the order’s business status.

Overview

PropertyValue
Bounded ContextOrdering
ProducerOrder OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs
Consumer(s)Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs
Protocol / FormatKafka + CloudEvents JSON (camelCase payload)
Channel / TopicSuccessful Basket Cleanup Command ChannelChannelv1.0.0Successful Basket Cleanup Command ChannelKafka topic owned by the commerce-fulfillment-team carrying Finance's successful basket-cleanup command consumed by Orde...Ownercommerce-fulfillment-teamOpen docs
Dead-Letter ChannelOrdering Dead Letter QueueChannelv1.0.0Ordering Dead Letter QueueKafka dead-letter topic owned by the platform-engineering-team that captures basket-cleanup outcome commands that Order ...Ownerplatform-engineering-teamOpen docs
Partition KeyOrderId
Delivery / Idempotency GuaranteeAt-least-once delivery; consumer is side-effect-free (structured logging only)
Note

DeleteBasketCompleteCommand is distinct from Basket deletion completedEventv1.0.0Basket deletion completedIndicates that Basket successfully deleted the submitted basket during checkout cleanup. Ownercommerce-fulfillment-teamSchemaDiagramOpen docs. Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs publishes BasketDeletedCompleteIntegrationEvent to Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs, which then publishes DeleteBasketCompleteCommand to Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs.

Payload Fields & Envelope

Command Payload

NameTypeRequiredConstraintsDescription
idstring (uuid)YesUUIDv7Unique identifier assigned to the integration message
creationDatestring (date-time)YesISO 8601 UTC timestampUTC timestamp when the command was created
orderIdstring (uuid)YesValid UUID; Kafka partition key; PII-redacted in logsIdentifier of the order whose basket cleanup succeeded
totalMoneynumberYesNon-negative monetary amountTotal purchase amount associated with the order

Delivery Guarantees & Error Handling

ConditionSystem BehaviorRecovery / Compensation
Duplicate deliveryConsumer logs the message again with no database or status side effectsNaturally idempotent (no state mutation)
Activity publish failure in producerDurable orchestration retries up to 3 times (5s initial delay, 2.0 backoff)Runs LIFO saga compensations if all retries fail
Deserialization or processing failureRetried with cooldown (50ms, 250ms, 1s with full jitter)Exhausted messages route to Ordering Dead Letter QueueChannelv1.0.0Ordering Dead Letter QueueKafka dead-letter topic owned by the platform-engineering-team that captures basket-cleanup outcome commands that Order ...Ownerplatform-engineering-teamOpen docs

Acknowledge basket deletion completed schema

4 properties
Additional properties: not allowed
idstring<uuid>
required

Unique identifier assigned to the integration message.

creationDatestring<date-time>
required

UTC timestamp when the integration message was created.

orderIdstring<uuid>
required

Identifier of the Order whose basket cleanup completed.

totalMoneynumber<double>
required

Total purchase amount associated with the Order.