Place order
Description#
Allows the clients to order merchandise from a business.
Input#
Order#
- Validation
- Required
Delivery method#
- Type
- Enum
- Type
- String
- Options
- Eat in
- Takeaway
- Home delivery
- Type
- Enum
- Validation
- Required
Additional validation#
Mechanism#
- Create the new order with an order status of placed. The order contains a snapshot of the order with the name and price of the items, modifications, and options at the time of the order placement. This is to prevent updates of the business merchandise retroactively manipulating historic orders.
- Send a push notification to business regarding the new order.