Update location

Description#

Allows couriers to update the system regarding their location. This serves the courier assignment mechanism.

Input#

Coordinates#

  • Type
    • Coordinates
  • Validation
    • Required

Address#

  • Type
    • String
  • Validation
    • Required

Mechanism#

  1. If the courier is not within any region and is not assigned to any delivery, toggle off their Entity propertyavailability.
  2. Save the following as the courier Entity propertylocation:

Notes#

warning
  • This function must be activated every 5 minutes in order to stay available.
  • If the courier has an assigned delivery, the above note has no effect.