Is this doc still accurate with the schema?

I am trying to run a mutation according to the documentation https://shopify.dev/api/storefront/2022-01/mutations/customerCreate customerCreate. However, I keep getting the error… Error: Field ‘password’ doesn’t exist on type ‘Customer’

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.

See error screenshots:

Hey @danielDOzie ,

I had a closer look at your question, and wanted to share a few insights.

Taking a look at the customer (Object) documentation, there is no “password” field on the customer object.

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).

Hope that markup on the example mutation we provide adds additional context to the info above, and that this helps clarify any confusion - Cheers!

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?