I am trying to activate the customer with the password entered through another form. I came across the Shopify GraphQL API customerActivate but when I tried to test it, it is giving me an error
"message": "CustomerActivateInput isn't a defined input type (on $input)"
When I tried to find the customerActivate mutation in the schema documentation of my store I didn't get anything
but this customerActivate mutation is present in the official scheme documentation https://shopify.dev/graphiql/storefront-graphiql
Can anybody help with this?
Hey @Solvasa ,
Happy to help you out with this.
In your testing using GraphiQL, what is the schema dropdown set to? customerActivate is part of our storefront api (not admin) so the schema dropdown should be set to storefront.
I can't see any option on this page to change the schema https://prnt.sc/125pp7e
Somehow I managed to run in via postman, but the ID I need to pass for the customer is neither the Shopify customer ID nor the admin_graphql_api_id, So how can I get that customer ID for StoreFront APIs?