# Flock EventCatalog Documentation > This internal platform provides a comprehensive view of our event-driven architecture across all systems. Use this portal to discover existing domains, explore services and their dependencies, and understand the message contracts that connect our infrastructure ## Events - [Cart Checked Out - cart-checked-out - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/cart-checked-out/1.0.0.mdx) - Published when a customer has checked out their cart. - [Customer Authenticated - customer-authenticated - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/customer-authenticated/1.0.0.mdx) - Published when a customer has successfully authenticated. - [Customer Registered - customer-registered - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/customer-registered/1.0.0.mdx) - Published when a new customer has registered. - [Customer Updated - customer-updated - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/customer-updated/1.0.0.mdx) - Published when an existing customer's profile has changed. - [Discount Calculated - discount-calculated - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/discount-calculated/1.0.0.mdx) - Published when a discount has been calculated for a cart. - [Fraud Check Failed - fraud-check-failed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/fraud-check-failed/1.0.0.mdx) - Published when a payment fails fraud screening. - [Fraud Check Passed - fraud-check-passed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/fraud-check-passed/1.0.0.mdx) - Published when a payment passes fraud screening. - [Inventory Reserved - inventory-reserved - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/inventory-reserved/1.0.0.mdx) - Published when stock has been successfully reserved for an order. - [Inventory Unavailable - inventory-unavailable - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/inventory-unavailable/1.0.0.mdx) - Published when stock could not be reserved for an order. - [Order Cancelled - order-cancelled - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/order-cancelled/1.0.0.mdx) - Published when an order has been cancelled. - [Order Completed - order-completed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/order-completed/1.0.0.mdx) - Published when an order has been fulfilled and completed. - [Order Created - order-created - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/order-created/1.0.0.mdx) - Published when a new order has been created. - [Order Packed - order-packed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/order-packed/1.0.0.mdx) - Published when an order has been picked and packed in the warehouse. - [Order Ready For Shipping - order-ready-for-shipping - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/order-ready-for-shipping/1.0.0.mdx) - Published when a packed order is ready to be handed to a carrier for shipping. - [Payment Failed - payment-failed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/payment-failed/1.0.0.mdx) - Published by Stripe when a charge fails. - [Payment Requested - payment-requested - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/payment-requested/1.0.0.mdx) - Published when the Payment Processing System requests a charge from the payment processor. - [Payment Succeeded - payment-succeeded - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/payment-succeeded/1.0.0.mdx) - Published by Stripe when a charge succeeds. - [Product Created - product-created - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/product-created/1.0.0.mdx) - Published when a new product has been added to the catalog. - [Product Deleted - product-deleted - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/product-deleted/1.0.0.mdx) - Published when a product has been removed from the catalog. - [Product Updated - product-updated - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/product-updated/1.0.0.mdx) - Published when an existing product's data has changed. - [Rating Updated - rating-updated - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/rating-updated/1.0.0.mdx) - Published when a product's aggregate rating changes as a result of a newly published review. - [Refund Processed - refund-processed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/refund-processed/1.0.0.mdx) - Published by Stripe when a refund has been processed. - [Refund Requested - refund-requested - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/refund-requested/1.0.0.mdx) - Published when the Payment Processing System requests a refund from the payment processor. - [Review Flagged - review-flagged - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/review-flagged/1.0.0.mdx) - Published when a published review is flagged and needs to be screened again. - [Review Helpful Voted - review-helpful-voted - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/review-helpful-voted/1.0.0.mdx) - Published when a review's helpful count changes as a result of a customer vote. - [Review Published - review-published - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/review-published/1.0.0.mdx) - Published when a submitted review passes moderation and becomes visible on the storefront. - [Review Rejected - review-rejected - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/review-rejected/1.0.0.mdx) - Published when a submitted review fails moderation (spam, abuse or policy violation) and will not be shown. - [Review Submitted - review-submitted - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/review-submitted/1.0.0.mdx) - Published when a customer submits a review. The review is stored but not yet visible — it awaits moderation. - [Shipment Created - shipment-created - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/shipment-created/1.0.0.mdx) - Published by the carrier when a shipment has been created and dispatched. - [Shipment Delivered - shipment-delivered - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/shipment-delivered/1.0.0.mdx) - Published by the carrier when a shipment has been delivered to the customer. - [Shipment Failed - shipment-failed - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/events/shipment-failed/1.0.0.mdx) - Published by the carrier when a shipment could not be delivered. ## Commands - [Add Item To Cart - add-item-to-cart - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/add-item-to-cart/1.0.0.mdx) - Command to add an item to a shopping cart. - [Authenticate Customer - authenticate-customer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/authenticate-customer/1.0.0.mdx) - Command to authenticate a customer with their credentials. - [Authorize Payment - authorize-payment - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/authorize-payment/1.0.0.mdx) - Command to authorize payment for the total of a checked-out cart. - [Calculate Discount - calculate-discount - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/calculate-discount/1.0.0.mdx) - Command to calculate the discount that applies to a cart. - [Cancel Order - cancel-order - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/cancel-order/1.0.0.mdx) - Command to cancel an existing order. - [Checkout Cart - checkout-cart - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/checkout-cart/1.0.0.mdx) - Command to check out a shopping cart. - [Create Order - create-order - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/create-order/1.0.0.mdx) - Command to create a new order from a checked-out cart. - [Create Product - create-product - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/create-product/1.0.0.mdx) - Command to add a new product to the catalog. - [Create Shipment - create-shipment - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/create-shipment/1.0.0.mdx) - Command to create a shipment with a carrier for a packed order. - [Delete Product - delete-product - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/delete-product/1.0.0.mdx) - Command to remove a product from the catalog. - [Flag Review - flag-review - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/flag-review/1.0.0.mdx) - Command issued by a customer or moderator to flag a published review for re-moderation. - [Register Customer - register-customer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/register-customer/1.0.0.mdx) - Command to register a new customer. - [Release Inventory - release-inventory - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/release-inventory/1.0.0.mdx) - Command to release a previously held inventory reservation. - [Remove Item From Cart - remove-item-from-cart - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/remove-item-from-cart/1.0.0.mdx) - Command to remove an item from a shopping cart. - [Reserve Inventory - reserve-inventory - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/reserve-inventory/1.0.0.mdx) - Command to reserve stock for the items in a checked-out cart. - [Submit Review - submit-review - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/submit-review/1.0.0.mdx) - Command issued by a customer to submit a review and rating for a product. - [Update Customer - update-customer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/update-customer/1.0.0.mdx) - Command to update an existing customer's profile. - [Update Product - update-product - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/update-product/1.0.0.mdx) - Command to update an existing product in the catalog. - [Vote Review Helpful - vote-review-helpful - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/commands/vote-review-helpful/1.0.0.mdx) - Command issued by a customer to mark a published review as helpful (or remove their vote). ## Queries - [Get Customer - get-customer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/get-customer/1.0.0.mdx) - Query to fetch a single customer by their identifier. - [Get Order - get-order - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/get-order/1.0.0.mdx) - Query to fetch a single order by its identifier. - [Get Product - get-product - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/get-product/1.0.0.mdx) - Query to fetch a single product by its identifier. - [Get Product Reviews - get-product-reviews - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/get-product-reviews/1.0.0.mdx) - Query to fetch the published reviews and aggregate rating for a product. - [Get Stock Level - get-stock-level - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/get-stock-level/1.0.0.mdx) - Query to fetch the current available stock level for a product. - [Search Products - search-products - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/queries/search-products/1.0.0.mdx) - Query to search the catalog for products matching a term, with optional filters and pagination. ## Agents ## Services - [Carrier Adapter - carrier-adapter - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/carrier-adapter/1.0.0.mdx) - Translates Acme Inc shipment requests into the external carrier's format and sends them to create a shipment. - [Shipping API - carrier-shipping-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/carrier-shipping-api/1.0.0.mdx) - The carrier's API for creating shipments. Acme Inc's Shipping System calls it to dispatch packed orders. - [Tracking API - carrier-tracking-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/carrier-tracking-api/1.0.0.mdx) - The carrier's API for reporting delivery progress. It notifies Acme Inc when a shipment is created, delivered, or fails. - [Cart API - cart-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/cart-api/1.0.0.mdx) - The public-facing API for shopping carts. Handles commands to add and remove items and to check out, and publishes an event when a cart is checked out. - [Checkout API - checkout-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/checkout-api/1.0.0.mdx) - The entry point to the Checkout System. Receives the checkout command from the Shopping domain and starts the checkout flow. - [Checkout Orchestrator - checkout-orchestrator - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/checkout-orchestrator/1.0.0.mdx) - Runs the checkout saga. Reserves inventory, authorizes payment and creates the order, coordinating the steps that turn a checked-out cart into a confirmed order. - [Customer API - customer-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/customer-api/1.0.0.mdx) - The public-facing API for customer profiles. Handles commands to register and update customers, serves customer reads, and publishes customer change events. - [Fraud API - fraud-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/fraud-api/1.0.0.mdx) - External fraud screening API. It consumes payment requests and returns a pass or fail verdict for each. - [Inventory Service - inventory-service - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/inventory-service/1.0.0.mdx) - The system of record for stock. Reserves and releases inventory, serves stock-level queries, and publishes events when stock is reserved or unavailable. - [OAuth API - oauth-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/oauth-api/1.0.0.mdx) - OAuth-style authentication API for the Identity Provider. Verifies customer credentials and publishes an event when a customer successfully authenticates. - [Order Service - order-service - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/order-service/1.0.0.mdx) - The system of record for orders. Creates and cancels orders, serves order lookups, and publishes events as orders move through their lifecycle. - [Payment API - payment-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/payment-api/1.0.0.mdx) - Receives payment authorization requests from the Ordering domain and records the payment intent, kicking off the charge against the payment processor. - [Payment Worker - payment-worker - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/payment-worker/1.0.0.mdx) - Drives charges and refunds against the external payment processor and records the outcomes. It requests payments and refunds, and consumes the success/failure events Stripe returns. - [Picking Worker - picking-worker - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/picking-worker/1.0.0.mdx) - Works through picking jobs on the warehouse floor and signals when an order has been picked and packed. - [Product API - product-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/product-api/1.0.0.mdx) - The public-facing API for the product catalog. Handles commands to create, update and delete products, serves product reads, and is the entry point into the Product Catalog System. - [Product Search Publisher - product-search-publisher - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/product-search-publisher/1.0.0.mdx) - Reads product changes from the product database (outbox) and reliably publishes product-created, product-updated and product-deleted events for the Search System to consume. - [Product Worker - product-worker - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/product-worker/1.0.0.mdx) - Background worker that handles long-running and asynchronous catalog work off the request path, such as enrichment, image processing and bulk imports. - [Promotion Service - promotion-service - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/promotion-service/1.0.0.mdx) - Evaluates promotion rules and calculates the discount that applies to a cart. Receives discount requests and publishes the calculated result. - [Rating Aggregator - rating-aggregator - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/rating-aggregator/1.0.0.mdx) - Keeps each product's aggregate star rating up to date as reviews are published, and serves it fast from a cache. - [Review API - review-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/review-api/1.0.0.mdx) - The public-facing API for product reviews. Accepts review submissions, serves published reviews, and is the entry point into the Reviews & Ratings domain. - [Review Moderation Worker - review-moderation-worker - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/review-moderation-worker/1.0.0.mdx) - Asynchronous worker that screens submitted reviews for spam, abuse and policy violations, then publishes or rejects them. - [Search API - search-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/search-api/1.0.0.mdx) - Public-facing API that serves fast, relevant product search to the rest of the business, reading from the search index. - [Search Indexer - search-indexer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/search-indexer/1.0.0.mdx) - Consumes product change events from the Product Catalog System and keeps the search index up to date so products are discoverable. - [Shipping API - shipping-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/shipping-api/1.0.0.mdx) - Receives ready-for-shipping orders, selects a carrier, and kicks off shipment creation. - [Payments API - stripe-payments-api - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/stripe-payments-api/1.0.0.mdx) - Stripe's API for charging cards and issuing refunds. Acme Inc's Payment Processing System calls it to request payments and refunds. - [Webhook Endpoint - stripe-webhook-endpoint - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/stripe-webhook-endpoint/1.0.0.mdx) - Stripe's webhook delivery for payment and refund outcomes. It notifies Acme Inc whether a charge succeeded or failed, and when a refund is processed. - [Warehouse Service - warehouse-service - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/services/warehouse-service/1.0.0.mdx) - Orchestrates picking and packing in the warehouse. It reacts to completed orders, creates picking jobs, and signals when an order is ready to ship. ## Data Products ## Domains - [Catalog - catalog - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/1.0.0.mdx) - The Catalog domain owns everything about products — how they are created, maintained and made discoverable across Acme Inc. It is the source of truth for product data and powers product search across the business. - [Customer - customer - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/1.0.0.mdx) - The Customer domain owns who our customers are — how they register, how their profile is maintained, and how they are authenticated across Acme Inc. It is the source of truth for customer identity and profile data. - [Fulfilment - fulfilment - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/1.0.0.mdx) - The Fulfilment domain gets a confirmed order to the customer. It reserves stock, picks and packs orders in the warehouse, and hands them to carriers for delivery. - [Ordering - ordering - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/1.0.0.mdx) - The Ordering domain turns a checked-out cart into a confirmed order. It orchestrates checkout — reserving inventory, authorizing payment and creating the order — and owns the lifecycle of every order. - [Payments - payments - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/1.0.0.mdx) - The Payments domain takes payment for orders and processes refunds. It orchestrates authorization and capture through an external payment processor, and screens payments for fraud. - [Reviews & Ratings - reviews - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/reviews/1.0.0.mdx) - The Reviews & Ratings domain owns customer feedback on products — how reviews are submitted, moderated, published and aggregated into the star ratings shown across the storefront. - [Shopping - shopping - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/1.0.0.mdx) - The Shopping domain owns the customer's path to purchase — building a cart, applying promotions, and checking out. It coordinates the cart and the discounts that apply to it. ## Flows - [Checkout Saga - checkout-saga - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/flows/checkout-saga/1.0.0.mdx) - How the Checkout Orchestrator turns a checked-out cart into an order — reserving inventory, authorizing payment and creating the order, with compensation when a step fails. - [Order Cancellation - order-cancellation - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/flows/order-cancellation/1.0.0.mdx) - How an order is cancelled — whether requested by the customer or triggered by a failure — and the events that tell the rest of the business to unwind it. - [Place an Order - place-an-order - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/flows/place-an-order/1.0.0.mdx) - The end-to-end journey from a customer checking out their cart to a confirmed order — spanning the Shopping and Ordering domains, including the checkout saga and its failure path. - [Product Search Indexing - product-search-indexing - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/flows/product-search-indexing/1.0.0.mdx) - How a change to a product in the catalog reliably flows into the search index — via the outbox, product events and the indexer — so search stays in sync without coupling to the catalog database. - [Review Submission - review-submission - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/flows/review-submission/1.0.0.mdx) - How a customer's product review travels from submission, through moderation, to being published and folded into the product's aggregate rating. ## Channels ## Ubiquitous Language - Catalog Domain - [Product: - A single item Acme Inc sells, with a name, price, category and lifecycle status.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - [SKU: - Stock Keeping Unit — the unique, human-meaningful code that identifies a product.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - [Catalog: - The complete, authoritative collection of products Acme Inc offers.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - [Search Index: - A denormalised, search-optimised copy of the catalog that powers product search.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - [Lifecycle Status: - Where a product sits in its life: DRAFT, ACTIVE or ARCHIVED.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - [Outbox: - A table where product changes are recorded in the same transaction, then published as events.](http://event-catalog.prod.infra.flockcover.com/docs/domains/catalog/language.mdx) - Customer Domain - [Customer: - A person with an account at Acme Inc, identified by a unique customer id and email.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - [Identity: - The credentials and login information used to prove a customer is who they say they are.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - [Authentication: - Verifying that a sign-in attempt belongs to a real customer.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - [Credential: - A secret (such as a password) a customer uses to authenticate. Never stored in plain text.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - [Account Status: - Where a customer account sits: ACTIVE, SUSPENDED or CLOSED.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - [User Directory: - The authoritative store of customer credentials and login identities.](http://event-catalog.prod.infra.flockcover.com/docs/domains/customer/language.mdx) - Fulfilment Domain - [Fulfilment: - Everything that gets a confirmed order physically to the customer — stock, packing and shipping.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Stock: - The quantity of a product physically available to sell.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Reservation: - A temporary hold on stock for a specific order, taken during checkout.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Picking: - Collecting an order's items from the warehouse shelves.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Packing: - Boxing up a picked order into one or more parcels ready for shipping.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Shipment: - A packed order handed to a carrier for delivery, tracked from dispatch to delivery.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Carrier: - The external delivery company that transports shipments to customers.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - [Tracking Number: - A code from the carrier that lets the customer follow a shipment's progress.](http://event-catalog.prod.infra.flockcover.com/docs/domains/fulfilment/language.mdx) - Ordering Domain - [Order: - A confirmed intent to purchase, created from a checked-out cart and owned for its whole lifecycle.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Checkout: - The flow that turns a checked-out cart into a confirmed order.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Saga: - A multi-step process with compensating actions, used to coordinate checkout across systems.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Reservation: - A temporary hold on stock for the items in a cart, taken during checkout.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Authorization: - A hold placed on a customer's payment method for the order total, captured when the order is created.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Order Item: - A single product line within an order: a product, a quantity and the price paid per unit.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - [Order Status: - Where an order sits in its life: CREATED, COMPLETED or CANCELLED.](http://event-catalog.prod.infra.flockcover.com/docs/domains/ordering/language.mdx) - Payments Domain - [Payment: - A charge taken from a customer to pay for an order.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Authorization: - A hold placed on a customer's payment method, confirming funds are available before capture.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Capture: - Taking the held funds from an authorized payment — turning an authorization into an actual charge.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Refund: - Returning money to a customer for a previous payment, in full or in part.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Payment Processor: - The external provider (Stripe) that charges cards and issues refunds on Acme Inc's behalf.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Fraud Screening: - Checking a payment for signs of fraud before allowing the charge to proceed.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - [Webhook: - A callback the payment processor sends to report the outcome of a charge or refund.](http://event-catalog.prod.infra.flockcover.com/docs/domains/payments/language.mdx) - Shopping Domain - [Cart: - A customer's in-progress collection of items they intend to buy.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Cart Item: - A single product line within a cart: a product, a quantity and a unit price.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Checkout: - The act of finalising a cart — pricing it and committing to purchase.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Promotion: - A rule that reduces the price of a cart, such as a percentage off or a fixed amount.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Discount: - The actual amount taken off a specific cart after evaluating the applicable promotions.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Subtotal: - The total value of a cart's items before any discounts are applied.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) - [Promotion Code: - A code a customer enters at checkout to apply a specific promotion.](http://event-catalog.prod.infra.flockcover.com/docs/domains/shopping/language.mdx) ## Containers (Databases, External Systems) - [Cart Database - cart-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/cart-database/1.0.0.mdx) - PostgreSQL database that is the system of record for shopping carts and their items. - [Customer Database - customer-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/customer-database/1.0.0.mdx) - PostgreSQL database that is the system of record for all customer profile data. - [Inventory Database - inventory-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/inventory-database/1.0.0.mdx) - PostgreSQL database that is the system of record for stock levels and reservations. - [Order Database - order-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/order-database/1.0.0.mdx) - PostgreSQL database that is the system of record for orders and their items. - [Payment Database - payment-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/payment-database/1.0.0.mdx) - PostgreSQL database that is the system of record for payments and refunds. - [Product Database - product-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/product-database/1.0.0.mdx) - PostgreSQL database that is the system of record for all product data. - [Promotion Database - promotion-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/promotion-database/1.0.0.mdx) - PostgreSQL store of promotion and discount rules. - [Rating Cache - rating-cache - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/rating-cache/1.0.0.mdx) - Redis cache that serves each product's aggregate star rating with low latency. - [Review Database - review-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/review-database/1.0.0.mdx) - PostgreSQL database that is the system of record for reviews and their moderation state. - [Search Index - search-index - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/search-index/1.0.0.mdx) - The denormalised, search-optimised index of products that powers product search. - [User Directory - user-directory - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/user-directory/1.0.0.mdx) - The directory of customer credentials and identities — the source of truth for authentication. - [Warehouse Database - warehouse-database - 1.0.0 ](http://event-catalog.prod.infra.flockcover.com/docs/containers/warehouse-database/1.0.0.mdx) - PostgreSQL database that stores picking jobs and their status. ## Entities - Catalog Domain - [Product](http://event-catalog.prod.infra.flockcover.com/docs/entities/product/1.0.0.mdx) - The sellable item Acme manages in the product catalog. - [Product Variant](http://event-catalog.prod.infra.flockcover.com/docs/entities/product-variant/1.0.0.mdx) - A purchasable variation of a product, such as size or color. - [Category](http://event-catalog.prod.infra.flockcover.com/docs/entities/category/1.0.0.mdx) - A merchandising grouping used to organize products for discovery. - [Search Document](http://event-catalog.prod.infra.flockcover.com/docs/entities/search-document/1.0.0.mdx) - The denormalized representation of product data indexed by Search. - Customer Domain - [Customer Profile](http://event-catalog.prod.infra.flockcover.com/docs/entities/customer-profile/1.0.0.mdx) - The customer details Acme uses for commerce interactions. - [Customer Account](http://event-catalog.prod.infra.flockcover.com/docs/entities/customer-account/1.0.0.mdx) - The identity account used to authenticate a customer. - [Authentication Session](http://event-catalog.prod.infra.flockcover.com/docs/entities/authentication-session/1.0.0.mdx) - A successful customer authentication session. - [Customer Address](http://event-catalog.prod.infra.flockcover.com/docs/entities/customer-address/1.0.0.mdx) - A saved address attached to a customer profile. - Fulfilment Domain - [Stock Item](http://event-catalog.prod.infra.flockcover.com/docs/entities/stock-item/1.0.0.mdx) - The inventory record for a product variant at a location. - [Inventory Reservation](http://event-catalog.prod.infra.flockcover.com/docs/entities/inventory-reservation/1.0.0.mdx) - Stock held for a checkout or order before fulfilment. - [Warehouse Pick](http://event-catalog.prod.infra.flockcover.com/docs/entities/warehouse-pick/1.0.0.mdx) - A warehouse task to pick items for a completed order. - [Shipment](http://event-catalog.prod.infra.flockcover.com/docs/entities/shipment/1.0.0.mdx) - A carrier delivery for a packed customer order. - Ordering Domain - [Checkout Session](http://event-catalog.prod.infra.flockcover.com/docs/entities/checkout-session/1.0.0.mdx) - The orchestration state for turning a checked-out cart into an order. - [Order](http://event-catalog.prod.infra.flockcover.com/docs/entities/order/1.0.0.mdx) - The durable customer order created after successful checkout. - [Order Line](http://event-catalog.prod.infra.flockcover.com/docs/entities/order-line/1.0.0.mdx) - A purchased product and quantity within an order. - [Order Status History](http://event-catalog.prod.infra.flockcover.com/docs/entities/order-status-history/1.0.0.mdx) - Audit history of order lifecycle state changes. - Payments Domain - [Payment](http://event-catalog.prod.infra.flockcover.com/docs/entities/payment/1.0.0.mdx) - Acme's internal record of payment intent and outcome for an order. - [Payment Authorization](http://event-catalog.prod.infra.flockcover.com/docs/entities/payment-authorization/1.0.0.mdx) - Approval from a payment provider to reserve funds for an order. - [Refund](http://event-catalog.prod.infra.flockcover.com/docs/entities/refund/1.0.0.mdx) - A request to return money to a customer after payment. - [Fraud Check](http://event-catalog.prod.infra.flockcover.com/docs/entities/fraud-check/1.0.0.mdx) - Fraud screening result associated with a payment attempt. - Reviews & Ratings Domain - [Review](http://event-catalog.prod.infra.flockcover.com/docs/entities/review/1.0.0.mdx) - A customer's review and rating of a product, including its moderation lifecycle. - [Moderation Decision](http://event-catalog.prod.infra.flockcover.com/docs/entities/moderation-decision/1.0.0.mdx) - The outcome of reviewing submitted customer feedback. - [Rating Summary](http://event-catalog.prod.infra.flockcover.com/docs/entities/rating-summary/1.0.0.mdx) - Aggregated review statistics for a product. - [Review Vote](http://event-catalog.prod.infra.flockcover.com/docs/entities/review-vote/1.0.0.mdx) - A customer's helpfulness vote on a product review. - [Review Flag](http://event-catalog.prod.infra.flockcover.com/docs/entities/review-flag/1.0.0.mdx) - A customer report that a review may violate policy. - Shopping Domain - [Cart](http://event-catalog.prod.infra.flockcover.com/docs/entities/cart/1.0.0.mdx) - The customer's active collection of items before an order exists. - [Cart Item](http://event-catalog.prod.infra.flockcover.com/docs/entities/cart-item/1.0.0.mdx) - A product variant and quantity inside a cart. - [Promotion](http://event-catalog.prod.infra.flockcover.com/docs/entities/promotion/1.0.0.mdx) - A commercial offer evaluated against a cart. - [Discount](http://event-catalog.prod.infra.flockcover.com/docs/entities/discount/1.0.0.mdx) - The calculated benefit applied to a cart or cart item. ## Teams - [customer-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/customer-platform.mdx) - Customer Platform - [fulfilment-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/fulfilment-platform.mdx) - Fulfilment Platform - [ordering-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/ordering-platform.mdx) - Ordering Platform - [payments-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/payments-platform.mdx) - Payments Platform - [product-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/product-platform.mdx) - Product Platform - [reviews-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/reviews-platform.mdx) - Reviews Platform - [search-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/search-platform.mdx) - Search Platform - [shopping-platform](http://event-catalog.prod.infra.flockcover.com/docs/teams/shopping-platform.mdx) - Shopping Platform ## Users - [dboyne](http://event-catalog.prod.infra.flockcover.com/docs/users/dboyne.mdx) - David Boyne ## Custom Docs