Skip to main content

Return Service

The return service provides the bounded context Return. It is responsible for managing and validating returns.

Domain Model​

info

Imported entities from other bounded contexts are marked with a dashed border.

Technology Stack​

  • Language: Kotlin
  • Framework: Spring Boot
  • GraphQL Library: GraphQL Kotlin
  • Database: PostgreSQL
  • Schema Management: Flyway

Events​

This section lists events that are defined or used by the return service.

Published Events​

return/return/created​

This event is published when a new user return is created.

{
id: string,
orderId: string,
orderItemsIds: string[],
reason: string,
refundedAmount: number,
createdAt: string
}

Subscribed Events​