Skip to main content

CustomerInfoSdkDto

Customer profile handed to Growave by the host application.

Use it on a headless storefront, where the theme renders no Growave markup and the profile would otherwise be fetched from the Growave API. The identity itself always comes from the Growave token, so id must be the Shopify customer the token was issued for — a profile for anyone else is ignored.

Properties​

PropertyTypeDescription
company{ id: number; } | nullShopify company the customer belongs to, when there is one
emailstring | nullExample "buyer@example.com"
firstNamestring | null-
idnumber | nullShopify customer id Example 1234567890
isB2bbooleanWhether the customer buys on behalf of a company
lastNamestring | null-
tagsstring[]Shopify customer tags Example ["vip", "wholesale"]