API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

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-04 (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-01 (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 2020-10

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 2020-07

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 2020-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 2020-01 (Unsupported)

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 2019-10 (Unsupported)

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 2019-07 (Unsupported)

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 2019-04 (Unsupported)

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