Skip to main content
object

The address of a company location, either billing or shipping. Apps using the Customer Account API must meet the protected customer data requirements.

•String!
non-null

The first line of the address. It is typically the street address or PO Box number.

•String

The second line of the address. It is typically the apartment, suite, or unit number.

•String

The city, district, village, or town.

•String!
non-null

The name of the company.

•String

The name of the country of the address.

•CountryCode!
non-null

The two-letter code for the country of the address, for example, US.

•DateTime!
non-null

The date and time (in ISO 8601 format) when the company address was created.

•String

The first name of the recipient.

•[String!]!
non-null

The formatted version of the address.

•String

A comma-separated list of the city, province, and country values.

•ID!

A globally-unique ID.

•String

The last name of the recipient.

•String

The unique phone number of the customer, formatted using the E.164 standard, for example, +16135551111.

•String

The region of the address, such as the province, state, or district.

•String

The identity of the recipient, for example, 'Receiving Department'.

•DateTime!
non-null

The date and time (in ISO 8601 format) when the company address was last updated.

•String

The zip or postal code of the address.

•String

The alphanumeric code for the region, for example, ON.


Was this section helpful?

•mutation

Updates an address on a company location.

Arguments

•CompanyAddressInput!
required

The input fields to use to update the address.

•[CompanyAddressType!]!
required

The list of address types on the location to update.

•ID!
required

The ID of the company location to update addresses on.


Fields

•[CompanyAddress!]

The list of updated addresses on the company location.

•[BusinessCustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

•interface

Was this section helpful?