Please watch the whole video tutorial here
Create a customer:
curl --location --request POST 'http://localhost:8080/api/v1/customers' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "[email protected]",
"phoneNumber": "+49116012345678"
}'
Create a product:
curl --location --request POST 'http://localhost:8080/api/v1/products' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "test_code",
"title": "Test title",
"price": 1234
}'
Create a cart:
curl --location --request POST 'http://localhost:8080/api/v1/customers/cart' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer": 1,
"products": [
1
],
"dateTime": "2020-08-05 12:15:00"
}'
There is a video
There is a video
There is a video
There is a video
There is a video
There is a video
There is a branch and here is a video
There is a branch and here is a video
There is a video
There is a video
There is a video
There is a video