DEV

Input.

LocationCreateInput

Input type for creating a location (preferred).

Fields

administrativeArea

•

String

The name of the administrative area (e.g., state, province, region) where the location resides.

administrativeAreaCode

•

String

The code representing the administrative area (e.g., a state or province code).

countryCode

•

CountryCode!

Required

The ISO 3166-1 alpha-2 code of the country where the location is situated.

latitude

•

Decimal

The latitude of the location in decimal degrees.

line1

•

String

The first line of the location's address.

line2

•

String

The second line of the location's address, if applicable.

line3

•

String

The third line of the location's address, if applicable.

line4

•

String

The fourth line of the location's address, if applicable.

locality

•

String

The locality of the location (e.g., city, town, village).

longitude

•

Decimal

The longitude of the location in decimal degrees.
Additional metadata associated with the location.

plusCode

•

String

The Plus Code (Open Location Code) for the location, providing a compact representation of geographic coordinates.

postalCode

•

String

The postal or ZIP code of the location.

propertyType

•

PropertyType

Whether this location is a residential or commercial property. Carriers use it to classify the delivery; FedEx, for example, applies a residential delivery surcharge to residential recipients. When left unset on a ship-to party, the destination defaults to RESIDENTIAL so that carrier options requiring a residential address (such as FedEx indirect signature) remain available. Set COMMERCIAL for business deliveries to avoid the residential surcharge.

Was this page helpful?


Get support·Legal docs·© 2026 Zonos