Home > @infiniteobjects/shopify-data-manager > AdminTypes > MailingAddressInput
The input fields to create or update a mailing address.
Signature:
export interface MailingAddressInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| address1? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The first line of the address. Typically the street address or PO Box number. | |
| address2? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The second line of the address. Typically the number of the apartment, suite, or unit. | |
| city? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The name of the city, district, village, or town. | |
| company? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The name of the customer’s company or organization. | |
| countryCode? | InputMaybe<CountryCode | `${CountryCode}`> | (Optional) The two-letter code for the country of the address. | |
| firstName? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The first name of the customer. | |
| lastName? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The last name of the customer. | |
| phone? | InputMaybe<Scalars[‘String’][‘input’]> | <p>(Optional) A unique phone number for the customer.</p><p>Formatted using E.164 standard. For example, _+16135551111_.</p> | |
| provinceCode? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The code for the region of the address, such as the province, state, or district. For example QC for Quebec, Canada. | |
| zip? | InputMaybe<Scalars[‘String’][‘input’]> | (Optional) The zip or postal code of the address. |