Locations
Retrieves store locations used for inventory and fulfillment, including address, active status, and assignment capabilities.
Columns
| Name | Type | References | Description |
| Id [KEY] | Long | A unique numeric identifier for the location. | |
| Name | String | The name assigned to the location. | |
| Legacy | Bool | Indicates whether the location is managed by a fulfillment service. A value of true means it is a fulfillment service location; false means it was created by the merchant and is not tied to a fulfillment service. | |
| Address1 | String | The first line of the street address for the location. | |
| Address2 | String | An optional second line of the street address for the location. | |
| City | String | The city where the location is situated. | |
| Zip | String | The postal or ZIP code of the location. | |
| Province | String | The state or province where the location is situated. | |
| Country | String | The full name of the country where the location is situated. | |
| Phone | String | The phone number associated with the location. May include symbols such as '-' or '+'. | |
| CountryCode | String | The two-letter ISO 3166-1 alpha-2 country code representing the country of the location. | |
| CountryName | String | The standardized country name corresponding to the location's country code. | |
| CreatedAt | Datetime | The date and time when the location record was created. | |
| UpdatedAt | Datetime | The date and time when the location record was last updated. | |
| DeletedAt | Datetime | The date and time when the location record was deleted, if applicable. |