How to programmatically mint the NFT wearable that is approved in the marketplace

Hi, please tell me how I can mint NFT wearable from the code (backend) to the wallet if it is already uploaded to the marketplace and approved. Maybe there are some examples or just a general description of how this can be done?