An example of "How to submit short orders" can be found here. More information on short selling can be found here.

Order Examples - Documentation | Alpaca
Alpaca API lets you build and trade with real-time market data for free.