CustomerState enum

Version unstable

The valid values for the state of a customer's account with a shop.

Values

  • DECLINED

    The customer declined the email invite to create an account.

  • DISABLED

    The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.

  • ENABLED

    The customer has created an account.

  • INVITED

    The customer has received an email invite to create an account.

Types that return CustomerState

Version 2021-10 (Release candidate)

The valid values for the state of a customer's account with a shop.

Values

  • DECLINED

    The customer declined the email invite to create an account.

  • DISABLED

    The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.

  • ENABLED

    The customer has created an account.

  • INVITED

    The customer has received an email invite to create an account.

Types that return CustomerState

Version 2021-07 (Latest)

The valid values for the state of a customer's account with a shop.

Values

  • DECLINED

    The customer declined the email invite to create an account.

  • DISABLED

    The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.

  • ENABLED

    The customer has created an account.

  • INVITED

    The customer has received an email invite to create an account.

Types that return CustomerState

Version 2021-04

The valid values for the state of a customer's account with a shop.

Values

  • DECLINED

    The customer declined the email invite to create an account.

  • DISABLED

    The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.

  • ENABLED

    The customer has created an account.

  • INVITED

    The customer has received an email invite to create an account.

Types that return CustomerState

Version 2021-01

The valid values for the state of a customer's account with a shop.

Values

  • DECLINED

    The customer declined the email invite to create an account.

  • DISABLED

    The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.

  • ENABLED

    The customer has creat