# Get location Returns a single location by ID, scoped to the authenticated merchant. Endpoint: GET /ipp/v1/locations/{id} Version: 1.0.0 ## Header parameters: - `x-merchant-id` (string, required) Merchant ID resolved from the API key. ## Path parameters: - `id` (string, required) ## Response 200 fields (application/json): - `id` (string) Unique location identifier. Example: "550e8400-e29b-41d4-a716-446655440000" - `merchant_id` (string) Merchant identifier. Example: "merchant_12345" - `name` (string) Display name of the location. Example: "Downtown Store" - `street_address` (string) Primary street address. Example: 123 - `street_address2` (string) Secondary address line (suite, apartment, etc.). Example: "Suite 100" - `postal_code` (string) Postal or ZIP code. Example: 12345 - `city` (string) City name. Example: "Stockholm" - `country` (string) Country code (ISO 3166-1 alpha-2). Example: "SE" - `created_at` (string) Timestamp when the location was created. Example: "2024-01-15T10:30:00Z" - `updated_at` (string) Timestamp when the location was last updated. Example: "2024-01-20T14:45:00Z" ## Response 400 fields ## Response 401 fields ## Response 404 fields