Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • accountsenumrequired

    Whether shoppers have accounts at all.

    • off
    • optional
    • required
  • sign_upsenumrequired

    Who may open an account.

    • open
    • approval
    • invited

Returns

200 Saved.

Errors

  • 403forbiddenMissing permission.
  • 409accounts_needed: customers manage subscriptions from their account, so accounts can't go off yet.