import { ShopifyCartBuyerIdentityInput } from '@daffodil/driver/shopify'
Specifies the input fields to update the buyer information associated with a cart. Buyer identity is used to determine international pricing and should match the customer's shipping address.
interface ShopifyCartBuyerIdentityInput {
companyLocationId: string
countryCode: ShopifyCountryCode
customerAccessToken: string
email: string
phone: string
preferences: ShopifyCartPreferencesInput
}
companyLocationId string |
|---|
The company location of the buyer that is interacting with the cart. |
countryCode ShopifyCountryCode |
|---|
The country where the buyer is located. |
customerAccessToken string |
|---|
The access token used to identify the customer associated with the cart. |
email string |
|---|
The email address of the buyer that is interacting with the cart. |
phone string |
|---|
The phone number of the buyer that is interacting with the cart. |
preferences ShopifyCartPreferencesInput |
|---|
A set of preferences tied to the buyer interacting with the cart. Preferences are used to prefill fields in at checkout to streamline information collection. Preferences are not synced back to the cart if they are overwritten. |