# Get warehouse Returns a specific Ship From Location (formerly known as warehouse). Note: In the API, the endpoint is called warehouse, but the process actually affects Ship From Locations in the UI. Endpoint: GET /warehouses/{warehouseId} Version: 1.0.0 Security: basicAuth ## Path parameters: - `warehouseId` (integer, required) Warehouse ID Example: 12345 ## Response 200 fields (application/json): - `warehouseId` (integer) Example: 12345 - `warehouseName` (string) Example: "Headquarters" - `originAddress` (object) Physical address for shipping or billing - `originAddress.name` (string) Name of the recipient Example: "John Doe" - `originAddress.company` (any) Company name Example: "Acme Corp" - `originAddress.street1` (string) First line of the street address Example: "123 Main St" - `originAddress.street2` (any) Second line of the street address Example: "Apt 4B" - `originAddress.street3` (any) Third line of the street address Example: "Building B" - `originAddress.city` (string) City name Example: "Austin" - `originAddress.state` (string) State or province code Example: "TX" - `originAddress.postalCode` (string) Postal or ZIP code Example: "78701" - `originAddress.country` (string) Two-letter ISO country code Example: "US" - `originAddress.phone` (any) Phone number Example: "512-555-1234" - `originAddress.residential` (any) Whether the address is residential Example: true - `originAddress.addressVerified` (any) Address verification status Example: "Address validated successfully" - `returnAddress` (any) - `isDefault` (boolean) Example: true ## Response 400 fields (application/json): - `message` (string) Example: "Invalid request parameters" ## Response 401 fields (application/json): - `message` (string) Example: "Invalid API credentials" ## Response 404 fields (application/json): - `message` (string) Example: "Resource not found" ## Response 500 fields (application/json): - `message` (string) Example: "An internal error occurred"