Update Customer
v1.0.0commandsCommand to update an existing customer's profile.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "UpdateCustomer",
4 "description": "Command to update an existing customer. Only the fields supplied are changed.",
5 "type": "object",
6 "properties": {
7 "customerId": {
8 "description": "Unique identifier of the customer to update",
9 "type": "string",
10 "format": "uuid"
11 },
12 "email": {
13 "description": "New email address",
14 "type": "string",
15 "format": "email"
16 },
17 "name": {
18 "description": "New full name",
19 "type": "string",
20 "minLength": 1
21 },
22 "status": {
23 "description": "New account status",
24 "type": "string",
25 "enum": ["ACTIVE", "SUSPENDED", "CLOSED"]
26 }
27 },
28 "required": ["customerId"]
29}
30Details
- Format
- JSON Schema
- Resource
- commands
- Filename
- schema.json