This type is used to define the physical address of an inventory location.
Types that use Address
Calls that use Address
Fields
addressLine1
The first line of a street address. This field is required for store inventory locations that will be holding In-Store Pickup inventory. A street address is not required if the inventory location is not holding In-Store Pickup Inventory. This field will be returned if defined for an inventory location.
Max length: 128
Max length: 128
addressLine2
The second line of a street address. This field can be used for additional address information, such as a suite or apartment number. A street address is not required if the inventory location is not holding In-Store Pickup Inventory. This field will be returned if defined for an inventory location.
Max length: 128
Max length: 128
city
The city in which the inventory location resides. This field is required for store inventory locations that will be holding In-Store Pickup inventory. For warehouse locations, this field is technically optional, as a postalCode can be used instead of city/stateOrProvince pair, and then the city is just derived from this postal/zip code. This field is returned if defined for an inventory location.
Max length: 128
Max length: 128
country
The country in which the address resides, represented as two-letter ISO 3166 country code. For example,
Max length: 2
US
represents the United States, and DE
represents Germany. Max length: 2
county
The county in which the address resides. This field is returned if defined for an inventory location.
postalCode
The postal/zip code of the address. eBay uses postal codes to surface In-Store Pickup items within the vicinity of a buyer's location, and it also user postal codes (origin and destination) to estimate shipping costs when the seller uses calculated shipping. A city/stateOrProvince pair can be used instead of a postalCode value, and then the postal code is just derived from the city and state/province. This field is returned if defined for an inventory location.
Max length: 16
Max length: 16
stateOrProvince
The state/province in which the inventory location resides. This field is required for store inventory locations that will be holding In-Store Pickup inventory. For warehouse locations, this field is technically optional, as a postalCode can be used instead of city/stateOrProvince pair, and then the state or province is just derived from this postal/zip code.
Max length: 128
Max length: 128