import { ShopifyCartDeliveryAddressInput } from '@daffodil/driver/shopify'
The input fields to create or update a cart address.
interface ShopifyCartDeliveryAddressInput {
address1: string
address2: string
city: string
company: string
countryCode: ShopifyCountryCode
firstName: string
lastName: string
phone: string
provinceCode: string
zip: string
}
address1 string |
|---|
The first line of the address. Typically the street address or PO Box number. |
address2 string |
|---|
The second line of the address. Typically the number of the apartment, suite, or unit. |
city string |
|---|
The name of the city, district, village, or town. |
company string |
|---|
The name of the customer's company or organization. |
countryCode ShopifyCountryCode |
|---|
The name of the country. |
firstName string |
|---|
The first name of the customer. |
lastName string |
|---|
The last name of the customer. |
phone string |
|---|
A unique phone number for the customer. Formatted using E.164 standard. For example, +16135551111. |
provinceCode string |
|---|
The region of the address, such as the province, state, or district. |
zip string |
|---|
The zip or postal code of the address. |