Updating the "state" of a customer

Will_Roos
New Member
1 0 0

I just wanted to find out if there is a bug in the system where I am not able to update the "state" of an customers account? I have tried to update a customers account to "disabled" but nothing happens it still says the customers account is "enabled" in the API documentation it states that I am able to disable customer accounts but seems something is not working.

I have already written the code for creating and updating customer account which works 100% just not updating the customer "state"

Anyone have any advise for me? 

0 Likes
Jamie_D_
Shopify Staff (Retired)
Shopify Staff (Retired)
531 1 99

Hey Will,

It's currently not possible to change the 'state' parameter of a customer through the API.

0 Likes
Gavin_Ballard1
Explorer
66 0 28

Hi Jamie, thanks for chipping in.

Any chance of finding out if making disable/enable endpoints available is on the roadmap? We're building a Multipass integration at the moment and would really find it useful to be able to disable customers once deprovisioned from our identity provider.

Author of http://gavinballard.com/mastering-shopify-themes/ and http://bootstrapforshopify.com.
Michel_Arteta
Shopify Partner
15 1 8

Hey are you using the admin API for that? Can you set the password using the admin API? 

0 Likes