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
  • Validation
    • Required

Additional validation#

Mechanism#

  1. 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.
  2. Send a push notification to business regarding the new order.