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

Read the architecture guide →

Get basketv1.0.0 · JSON Schema

Returns the current basket and its item details.

1{
2	"$schema": "https://json-schema.org/draft/2020-12/schema",
3	"title": "CustomerBasketDto",
4	"type": "object",
5	"required": ["id", "items"],
6	"properties": {
7		"id": {
8			"type": ["string", "null"]
9		},
10		"items": {
11			"type": "array",
12			"items": {
13				"type": "object",
14				"required": ["id", "quantity"],
15				"properties": {
16					"id": {
17						"type": ["string", "null"]
18					},
19					"quantity": {
20						"type": ["integer", "string"],
21						"format": "int32",
22						"pattern": "^-?(?:0|[1-9]\\d*)$"
23					},
24					"name": {
25						"type": ["string", "null"]
26					},
27					"price": {
28						"type": ["number", "string"],
29						"format": "double",
30						"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
31						"default": 0
32					},
33					"priceSale": {
34						"type": ["number", "string", "null"],
35						"format": "double",
36						"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
37					}
38				}
39			}
40		}
41	}
42}
43