2) delete one of customers addresses (by addressId?);
There isn't an API for this yet
I've find out another topic here: https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/removing-a-customer-s-address-via-api-144065
It looks like Shopify has another API (liquid templates?) that allows Customer address deletion. Unfortunately I don't know how to work with Ruby and 'shopify_api gem' but it looks like some HTTP-based API exist or do I miss something?