Accept order

Description#

Allows businesses to accept an order.

Input#

Estimate#

  • Type
    • Number
  • Validation
    • Required

Additional validation#

  • Can only be done within the first 5 minutes of order creation.
  • Can only be done on an order with 'placed' state.

Mechanism#

  1. Set the order state as Valueaccepted.
  2. Send a push notification to the client regarding the order being accepted along with the Function inputestimate.
  3. If the order delivery type is 'home delivery', initiate the courier assignment mechanism.