Link to an external shop on ERPNEXT DESK

Hello Everyone, we want to add a new link on the Desk to an external shop. The external shop calls the rest api after
adding a shopping basket. I tried to add an entry in desktop.py but this doesn’t work. I understand that this function is normaly for custom app or linking to functions within ERPNEXT.
Kind regards

Frank Woischke

Is it like a link to an external webpage, or just a web-request?

You will have to extend the module icon types on desktop.js to accept such type of action.

Thank you for your help