import { ShopifyMailingAddressInput } from '@daffodil/driver/shopify'
The input fields for creating or updating a MailingAddress. Accepts standard address components including street address, city, province, country, and postal code, along with customer name and contact information.
Used by the customerAddressCreate and customerAddressUpdate mutations, and as part of DeliveryAddressInput for cart delivery preferences.
interface ShopifyMailingAddressInput {
address1: string
address2: string
city: string
company: string
country: string
firstName: string
lastName: string
phone: string
province: 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. |
country string |
|---|
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. |
province string |
|---|
The region of the address, such as the province, state, or district. |
zip string |
|---|
The zip or postal code of the address. |