# Get location by ID Retrieve location information by location ID. The location must belong to the account associated with the OAuth token. Endpoint: GET /partner/v2/account/{accountId}/location/{locationId} Version: 2.0 Security: PartnerOAuth ## Path parameters: - `locationId` (integer, required) Location ID Example: 12345 - `accountId` (integer, required) Account identifier ## Response 200 fields (application/json): - `active` (boolean) Whether the location is active Example: true - `address` (object) Address information - `address.address1` (string) Street address line 1 Example: "123 Main Street" - `address.address2` (string) Street address line 2 Example: "Suite 100" - `address.city` (string) City Example: "Baltimore" - `address.postalCode` (string) Postal/ZIP code Example: "21202" - `address.state` (string) State/Province abbreviation Example: "MD" - `createdAt` (string) Creation timestamp Example: "2025-01-15T10:00:00Z" - `id` (integer) Unique location identifier Example: 12345 - `name` (string) Location name Example: "Main Street Clinic" - `phoneNumber` (string) Location phone number (digits only) Example: "5551234567" - `storeId` (string) Partner's external store identifier Example: "STORE123" - `timeZone` (string) Location timezone (IANA format) Example: "America/New_York" ## Response 401 fields ## Response 403 fields ## Response 404 fields