# FlowMart EventCatalog Schemas List of schemas for events, commands, queries, and services in EventCatalog. ## Events - [Inventory adjusted - InventoryAdjusted - 1.0.1](https://demo.eventcatalog.dev/api/schemas/events/InventoryAdjusted/1.0.1)} - Indicates a change in inventory level - [Order amended - OrderAmended - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/OrderAmended/0.0.1)} - Indicates an order has been changed - [Order cancelled - OrderCancelled - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/OrderCancelled/0.0.1)} - Indicates an order has been canceled - [Order confirmed - OrderConfirmed - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/OrderConfirmed/0.0.1)} - Indicates an order has been confirmed - [Delivery failed - DeliveryFailed - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/DeliveryFailed/0.0.1)} - Event that is emitted when a shipment delivery fails. - [Return initiated - ReturnInitiated - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/ReturnInitiated/0.0.1)} - Event that is emitted when a return is initiated. - [Shipment created - ShipmentCreated - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/ShipmentCreated/0.0.1)} - Event that is emitted when a shipment is created. - [Shipment delivered - ShipmentDelivered - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/ShipmentDelivered/0.0.1)} - Event that is emitted when a shipment is delivered. - [Shipment dispatched - ShipmentDispatched - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/ShipmentDispatched/0.0.1)} - Event that is emitted when a shipment is dispatched. - [Shipment in transit - ShipmentInTransit - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/ShipmentInTransit/0.0.1)} - Event that is emitted when a shipment is in transit. - [Fraud Check Completed - FraudCheckCompleted - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/FraudCheckCompleted/0.0.1)} - Emitted when a fraud check has been completed for a transaction - [Payment Failed - PaymentFailed - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/PaymentFailed/0.0.1)} - Emitted when a payment attempt fails - [Subscription Payment Due - SubscriptionPaymentDue - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/SubscriptionPaymentDue/0.0.1)} - Emitted when a subscription payment is due for collection - [Inventory adjusted - InventoryAdjusted - 0.0.1](https://demo.eventcatalog.dev/api/schemas/events/InventoryAdjusted/0.0.1)} - Indicates a change in inventory level - [Inventory adjusted - InventoryAdjusted - 1.0.0](https://demo.eventcatalog.dev/api/schemas/events/InventoryAdjusted/1.0.0)} - Indicates a change in inventory level - [Delivery failed - DeliveryFailed - 1.0.0](https://demo.eventcatalog.dev/api/schemas/events/DeliveryFailed/1.0.0)} - Event that is emitted when a shipment delivery fails. - [Delivery failed - DeliveryFailed - 0.0.2](https://demo.eventcatalog.dev/api/schemas/events/DeliveryFailed/0.0.2)} - Event that is emitted when a shipment delivery fails. ## Commands - [Add inventory - AddInventory - 0.0.3](https://demo.eventcatalog.dev/api/schemas/commands/AddInventory/0.0.3)} - Command that will add item to a given inventory id - [Delete Inventory - DeleteInventory - 0.0.3](https://demo.eventcatalog.dev/api/schemas/commands/DeleteInventory/0.0.3)} - Command that will delete a given inventory item from the system - [Update inventory - UpdateInventory - 0.0.3](https://demo.eventcatalog.dev/api/schemas/commands/UpdateInventory/0.0.3)} - Command that will update a given inventory item - [Place Order - PlaceOrder - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/PlaceOrder/0.0.1)} - Command that will place an order - [Cancel shipment - CancelShipment - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/CancelShipment/0.0.1)} - POST request that will cancel a shipment, identified by its shipmentId. - [Create return label - CreateReturnLabel - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/CreateReturnLabel/0.0.1)} - POST request that will create a return label for a specific shipment, identified by its shipmentId. - [Create shipment - CreateShipment - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/CreateShipment/0.0.1)} - POST request that will create a shipment for a specific order, identified by its orderId. - [Update shipment status - UpdateShipmentStatus - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/UpdateShipmentStatus/0.0.1)} - POST request that will update the status of a shipment, identified by its shipmentId. - [Process Payment - ProcessPayment - 0.0.1](https://demo.eventcatalog.dev/api/schemas/commands/ProcessPayment/0.0.1)} - Command to process a payment through the payment gateway ## Queries - [List inventory list - GetInventoryList - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetInventoryList/0.0.1)} - GET request that will return inventory list - [Get inventory status - GetInventoryStatus - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetInventoryStatus/0.0.1)} - GET request that will return the current stock status for a specific product. - [Get notification details - GetNotificationDetails - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetNotificationDetails/0.0.1)} - GET request that will return detailed information about a specific notification, identified by its notificationId. - [Get user notifications - GetUserNotifications - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetUserNotifications/0.0.1)} - GET request that will return a list of notifications for a specific user, with options to filter by status (unread or all). - [Get order details - GetOrder - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetOrder/0.0.1)} - GET request that will return detailed information about a specific order, identified by its orderId. - [Get payment status - GetPaymentStatus - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetPaymentStatus/0.0.1)} - GET request that will return the payment status for a specific order, identified by its orderId. - [Get subscription status - GetSubscriptionStatus - 0.0.2](https://demo.eventcatalog.dev/api/schemas/queries/GetSubscriptionStatus/0.0.2)} - GET request that will return the current subscription status for a specific user, identified by their userId. - [Get subscription status - GetSubscriptionStatus - 0.0.1](https://demo.eventcatalog.dev/api/schemas/queries/GetSubscriptionStatus/0.0.1)} - GET request that will return the current subscription status for a specific user, identified by their userId. ## Services - [OrdersService - 0.0.3 - asyncapi specification](https://demo.eventcatalog.dev/api/schemas/services/OrdersService/0.0.3/asyncapi) - Specification for Service that handles orders - [OrdersService - 0.0.3 - openapi specification](https://demo.eventcatalog.dev/api/schemas/services/OrdersService/0.0.3/openapi) - Specification for Service that handles orders - [OrdersService - 0.0.3 - openapi specification](https://demo.eventcatalog.dev/api/schemas/services/OrdersService/0.0.3/openapi) - Specification for Service that handles orders - [BillingService - 0.0.1 - graphql specification](https://demo.eventcatalog.dev/api/schemas/services/BillingService/0.0.1/graphql) - Specification for Manages billing cycles, invoice generation, and payment scheduling for subscriptions - [OrdersService - 0.0.2 - asyncapi specification](https://demo.eventcatalog.dev/api/schemas/services/OrdersService/0.0.2/asyncapi) - Specification for Service that handles orders - [OrdersService - 0.0.2 - openapi specification](https://demo.eventcatalog.dev/api/schemas/services/OrdersService/0.0.2/openapi) - Specification for Service that handles orders