All this is being done on the storefront API. My client config seems to be working fine with other mutations like the cartCreate, but this has been slowing me down. Any help/ pointer will be greatly appreciated.
However the document you shared is for the customerCreate mutation, where this is a required variable input field of the CustomerCreateInput. That said, the fields requested in the mutation body will need to be from the customer object (linked above).
Thanks, man. I actually figured it out myself and I couldn’t much but laugh at the silly confussion.
Another thing is, it seems the customer Address ID changes on every query request. So, if I want to delete a customer address by its ID I have to target the current ID.
And is there any way I can set a particular address to default using the storefront API?