command

Update Customer

Command to update an existing customer's profile.

Command
PATCH/customers/{customerId}

Overview

UpdateCustomer is handled by the Customer APICustomer APIServicev1.0.0The public-facing API for customer profiles. Handles commands to register and update customers, serves customer reads, a...Publishescustomer-registered, customer-updatedSubscribesregister-customer, update-customer +1APIsOpenAPIOwnercustomer-platformMapRepoView docs. It applies a partial update to an existing customer in the Customer DatabaseCustomer DatabaseContainerv1.0.0PostgreSQL database that is the system of record for all customer profile data.MapView docs and, on success, publishes a Customer UpdatedCustomer UpdatedEventv1.0.0Published when an existing customer's profile has changed. Ownercustomer-platformSchemaMapView docs event describing what changed.

Architecture diagram

Schema

Event-driven architecture documentation: Acme Inc

JSON Schema

4 properties

Command to update an existing customer. Only the fields supplied are changed.

customerIdstring<uuid>
required

Unique identifier of the customer to update

emailstring<email>

New email address

namestring

New full name

Min length: 1
statusstring

New account status

Allowed values: ACTIVE SUSPENDED CLOSED