Toggle availability

Description#

Allows businesses to indicate if they are ready to accept orders or not. If the business is available, orders can be placed by clients.

Validation#

  • Cannot be done while the business is unpublished or deactivated.

Mechanism#

  1. Switch the business entitybusiness's Entity propertyavailable property.
  2. Store availability data for the business.

Notes#

warning
  • This function has no effect on existing orders, they still need to be resolved explicitly.
info
  • A newly created business is unavailable by default.
  • The availability indication only affects the display of the business to other users and it's ability to receive orders.