DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsLocationsLocation Details
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
List LocationsLocation Details
Tax
Global Data
SEO
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

Location Details

Get location hours, address, and contact info.

Updated March 29, 2026

On this page
  • Overview
  • SDK Usage
  • Location Detail Page
  • Next Steps

Overview

Get detailed information about a specific store location.

SDK Usage

typescript
import dash from "@/lib/dash"

const { locations } = await dash.locations.list()
const location = locations[0]

// location = {
//   id: "loc_abc",
//   name: "Austin Store",
//   address: "123 Main St",
//   city: "Austin",
//   state: "TX",
//   zip: "78701",
//   phone: "555-0123",
//   email: "austin@store.com",
//   hours: "Mon-Fri 9am-9pm, Sat-Sun 10am-6pm",
//   latitude: 30.2672,
//   longitude: -97.7431,
// }

Location Detail Page

typescript
export function LocationCard({ location }) {
  return (
    <div className="border rounded p-6">
      <h2 className="text-xl font-bold">{location.name}</h2>
      <address className="mt-2">
        <p>{location.address}</p>
        <p>{location.city}, {location.state} {location.zip}</p>
      </address>
      <p className="mt-2">Phone: <a href={`tel:${location.phone}`}>{location.phone}</a></p>
      {location.hours && <p className="mt-1">Hours: {location.hours}</p>}
    </div>
  )
}

Next Steps

  • List Locations — All locations
  • getGlobalData() — Store-wide settings
PreviousList LocationsNextTax Rates

On this page

  • Overview
  • SDK Usage
  • Location Detail Page
  • Next Steps