How do I open/close short/long positions with the advancted trading api?

I’m reviewing the documentation here: Coinbase Cloud

And it looks like I can only buy or sell. How would I open a short order for example and then close it later?