MailingAddressInput
The input fields to create or update a mailing address.
Anchor to FieldsFields
- Anchor to address1address1•
The first line of the address. Typically the street address or PO Box number.
- Anchor to address2address2•
The second line of the address. Typically the number of the apartment, suite, or unit.
- Anchor to citycity•
The name of the city, district, village, or town.
- Anchor to companycompany•
The name of the customer's company or organization.
- Anchor to countryCodecountry•
Code The two-letter code for the country of the address.
- Anchor to firstNamefirst•
Name The first name of the customer.
- Anchor to lastNamelast•
Name The last name of the customer.
- Anchor to phonephone•
A unique phone number for the customer.
Formatted using E.164 standard. For example, +16135551111.
- Anchor to provinceCodeprovince•
Code The code for the region of the address, such as the province, state, or district. For example QC for Quebec, Canada.
- •
The zip or postal code of the address.
Anchor to Mutations using this inputMutations using this input
Anchor to Input objects using this inputInput objects using this input
- •INPUT OBJECT
The addresses for a customer.
- •INPUT OBJECT
The mailing address associated with the payment method.
- •INPUT OBJECT
The mailing address to where the order will be shipped.
- •INPUT OBJECT
The mailing address associated with the payment method. This address is an optional field that won't be available on orders that don't require a payment method.
NoteIf a customer is provided, this field or
(which has precedence) will be set as the customer's default address. Additionally, if the provided customer is new or hasn't created an order yet then their name will be set to the first/last name from this address (if provided).
- •INPUT OBJECT
The mailing address to where the order will be shipped.
NoteIf a customer is provided, this field (which has precedence) or
will be set as the customer's default address. Additionally, if the provided customer doesn't have a first or last name then it will be set to the first/last name from this address (if provided).
- •INPUT OBJECT
The new shipping address for the order. Overwrites the existing shipping address.
- Anchor to ShopifyPaymentsDisputeEvidenceUpdateInput.shippingAddressShopify•
Payments Dispute Evidence Update Input.shipping Address INPUT OBJECT The shipping address associated with the dispute evidence.
- Anchor to SubscriptionDeliveryMethodLocalDeliveryInput.addressSubscription•
Delivery Method Local Delivery Input.address INPUT OBJECT The address to deliver to.
- Anchor to SubscriptionDeliveryMethodShippingInput.addressSubscription•
Delivery Method Shipping Input.address INPUT OBJECT The address to ship to.
Map
Mutations using this input
- customer
Payment Method Credit Card Create.billingAddress - customer
Payment Method Credit Card Update.billingAddress - customer
Payment Method Paypal Billing Agreement Create.billingAddress - customer
Payment Method Paypal Billing Agreement Update.billingAddress
Input objects using this input
- Customer
Input.addresses - Draft
Order Input.billingAddress - Draft
Order Input.shippingAddress - Order
Create Order Input.billingAddress - Order
Create Order Input.shippingAddress - Order
Input.shippingAddress - Shopify
Payments Dispute Evidence Update Input.shippingAddress - Subscription
Delivery Method Local Delivery Input.address - Subscription
Delivery Method Shipping Input.address