--- title: MailingAddressInput - GraphQL Admin description: The input fields to create or update a mailing address. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MailingAddressInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MailingAddressInput.txt --- # Mailing​Address​Input input\_object The input fields to create or update a mailing address. ## Fields * address1 [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The first line of the address. Typically the street address or PO Box number. * address2 [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The second line of the address. Typically the number of the apartment, suite, or unit. * city [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The name of the city, district, village, or town. * company [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The name of the customer's company or organization. * country​Code [Country​Code](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/CountryCode) The two-letter code for the country of the address. * first​Name [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The first name of the customer. * last​Name [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The last name of the customer. * phone [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) A unique phone number for the customer. Formatted using E.164 standard. For example, *+16135551111*. * province​Code [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The code for the region of the address, such as the province, state, or district. For example QC for Quebec, Canada. * zip [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The zip or postal code of the address. ### Deprecated fields * country [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) Deprecated * id [ID](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) Deprecated * province [String](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) Deprecated *** ## Mutations using this input * [customer​Payment​Method​Credit​Card​Create.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodCreditCardCreate#argument-billingAddress) MUTATION * [customer​Payment​Method​Credit​Card​Update.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodCreditCardUpdate#argument-billingAddress) MUTATION * [customer​Payment​Method​Paypal​Billing​Agreement​Create.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodPaypalBillingAgreementCreate#argument-billingAddress) MUTATION * [customer​Payment​Method​Paypal​Billing​Agreement​Update.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodPaypalBillingAgreementUpdate#argument-billingAddress) MUTATION *** ## Input objects using this input * [Customer​Input.​addresses](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CustomerInput#field-addresses) INPUT OBJECT The input fields and values to use when creating or updating a customer. * [Draft​Order​Input.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DraftOrderInput#field-billingAddress) INPUT OBJECT The input fields used to create or update a draft order. * [Draft​Order​Input.​shipping​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DraftOrderInput#field-shippingAddress) INPUT OBJECT The input fields used to create or update a draft order. * [Order​Create​Order​Input.​billing​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderCreateOrderInput#field-billingAddress) INPUT OBJECT The input fields for creating an order. * [Order​Create​Order​Input.​shipping​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderCreateOrderInput#field-shippingAddress) INPUT OBJECT The input fields for creating an order. * [Order​Input.​shipping​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderInput#field-shippingAddress) INPUT OBJECT The input fields for specifying the information to be updated on an order when using the orderUpdate mutation. * [Shopify​Payments​Dispute​Evidence​Update​Input.​shipping​Address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ShopifyPaymentsDisputeEvidenceUpdateInput#field-shippingAddress) INPUT OBJECT The input fields required to update a dispute evidence object. * [Subscription​Delivery​Method​Local​Delivery​Input.​address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#field-address) INPUT OBJECT The input fields for a local delivery method. This input accepts partial input. When a field is not provided, its prior value is left unchanged. * [Subscription​Delivery​Method​Shipping​Input.​address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/SubscriptionDeliveryMethodShippingInput#field-address) INPUT OBJECT Specifies shipping delivery method fields. This input accepts partial input. When a field is not provided, its prior value is left unchanged. *** ## Map ### Mutations using this input * <\~>[customer​Payment​Method​Credit​Card​Create.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodCreditCardCreate#argument-billingAddress) * <\~>[customer​Payment​Method​Credit​Card​Update.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodCreditCardUpdate#argument-billingAddress) * <\~>[customer​Payment​Method​Paypal​Billing​Agreement​Create.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodPaypalBillingAgreementCreate#argument-billingAddress) * <\~>[customer​Payment​Method​Paypal​Billing​Agreement​Update.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/customerPaymentMethodPaypalBillingAgreementUpdate#argument-billingAddress) ### Input objects using this input * [Customer​Input.addresses](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CustomerInput#field-addresses) * [Draft​Order​Input.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DraftOrderInput#field-billingAddress) * [Draft​Order​Input.shippingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/DraftOrderInput#field-shippingAddress) * [Order​Create​Order​Input.billingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderCreateOrderInput#field-billingAddress) * [Order​Create​Order​Input.shippingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderCreateOrderInput#field-shippingAddress) * [Order​Input.shippingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/OrderInput#field-shippingAddress) * [Shopify​Payments​Dispute​Evidence​Update​Input.shippingAddress](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/ShopifyPaymentsDisputeEvidenceUpdateInput#field-shippingAddress) * [Subscription​Delivery​Method​Local​Delivery​Input.address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/SubscriptionDeliveryMethodLocalDeliveryInput#field-address) * [Subscription​Delivery​Method​Shipping​Input.address](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/SubscriptionDeliveryMethodShippingInput#field-address)