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#
- Set the order state as Valueaccepted.
- Send a push notification to the client regarding the order being accepted along with the Function inputestimate.
- If the order delivery type is 'home delivery', initiate the courier assignment mechanism.