Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Update basketv1.0.0 · JSON Schema

Replaces a basket's item collection with the supplied items.

1{
2	"$schema": "https://json-schema.org/draft/2020-12/schema",
3	"title": "UpdateBasketCommand",
4	"type": "object",
5	"required": ["items"],
6	"properties": {
7		"items": {
8			"type": "array",
9			"items": {
10				"type": "object",
11				"required": ["id", "quantity"],
12				"properties": {
13					"id": {
14						"type": "string"
15					},
16					"quantity": {
17						"type": ["integer", "string"],
18						"format": "int32",
19						"pattern": "^-?(?:0|[1-9]\\d*)$"
20					}
21				}
22			}
23		}
24	}
25}
26