Calamari is a specific preparation of squid. The battered and fried rings of squid we call calamari are called rabas or rabas de calamar in Spanish. The Spanish word "calamar" is the general term for squid.
Thanks for your interest in our dictionaries. According to DRAE and Lexico, rabas is only used in Spain for fried calamari. I've added rabas to the proposed translations with some tags that explain its usage. These changes will be visible once our dictionaries are updated in the next months.