First of all, the SHORTEST_PATH function has been added in ArangoDB 1.4.11. Can you make sure you are using an ArangoDB server version as least as high as that?
Second, a few examples for SHORTEST_PATH should be here: https://www.arangodb.org/manuals/1/Aql.html#AqlFunctionsGraph