Save customer account settings
PUT
/ admin/ v1/ stores/ {store_id}/ customer-account-settings- settings:write
Change whether shoppers have accounts (off, optional, required) and who may open one (open, approval, invited). Requests already waiting stay waiting until staff decide.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
accountsenumrequiredWhether shoppers have accounts at all.
- off
- optional
- required
sign_upsenumrequiredWho may open an account.
- open
- approval
- invited
Returns
200 Saved.
Errors
- 403
forbiddenMissing permission. - 409
accounts_needed: customers manage subscriptions from their account, so accounts can't go off yet.