You have to set correct ASIN code in book metadata. You cannot do it with Calibre, because Calibre put some GUID in ASIN field when converting books.
You can do it with Mobi2Mobi (GUI): set "exth type" to "113 - ASIN" and type correct ASIN code to "exth data" field (you can find it in Product Details section for kindle books on Amazon.com), mark the checkbox and click convert button. Then set "exth type" to "501 - CDEContentType" and type "EBOK" in "exth data", mark checkbox and click Convert button.
The only problem is that Mobi2Mobi doesn't support AZW3, only MOBI and PRC.
https://www.mobileread.com/forums/showthread.php?t=21763