Checkout Cart
v1.0.0commandsCommand to check out a shopping cart.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "CheckoutCart",
4 "description": "Command to check out a shopping cart",
5 "type": "object",
6 "properties": {
7 "cartId": {
8 "description": "Unique identifier of the cart to check out",
9 "type": "string",
10 "format": "uuid"
11 },
12 "customerId": {
13 "description": "Identifier of the customer checking out",
14 "type": "string",
15 "format": "uuid"
16 },
17 "promotionCode": {
18 "description": "Optional promotion code to apply at checkout",
19 "type": "string"
20 }
21 },
22 "required": ["cartId", "customerId"]
23}
24Details
- Format
- JSON Schema
- Resource
- commands
- Filename
- schema.json