Hello
You can use BAPI_OUTB_DELIVERY_CREATE_SLS, however, it is not possible to send the storage location and you may have to use and exit/BAdI to do that.
Tip: You can use transaction BAPI to find the BAPIs and the documentation available on the standard system.
BR
Caetano