Update courier

Description#

Allows the admin to update the courier's details.

Input#

Name inputs#

Phone number#

Additional validation#

  • The phone must not be used by any other courier.
  • Cannot be done while the courier is assigned to an active order to prevent undefined behaviour.

Mechanism#

Update the given inputs.