Create Basket

The following endpoint on the Basket Service allows a basket to be created:

POST /baskets

The response contains the created basket with the generated basketId.

The basket can be created with or without a customerId. If the customer should receive the digital receipt by email, the email address must be filled in this request for basket creation.