APILocation

Get a location

GET
/public/v1/locations/{id}

Returns a single location by its ID, including its address fields, geo coordinates, compliance metrc_id, and its linked license. Use this to resolve a location referenced elsewhere (for example the location_id on a purchase or order) into its full detail.

Several fields can be null: license / license_id when the location has no compliance license; metrc_id when it is not synced to a Metrc room (and when present it is a raw Metrc integer id, not a Distru id); and latitude / longitude when no coordinates have been set.

Lookups are scoped to your own company: an ID that does not exist, or that belongs to another company, returns 404 — the two cases are indistinguishable. A soft-deleted location is still returned here (with a non-null deleted_at); it is only hidden from the list endpoint unless you opt in via its deleted filter.

Required permission: companies_permissions_view.

Authorization

Bearer
headerAuthorizationBearer <token>

API token generated in Distru (Settings → Distru API). Send it on every request as Authorization: Bearer YOUR_API_TOKEN.

Path Parameters

id*string

The location's Distru ID, as returned in the id field of a location response. IDs from external systems such as Metrc are not accepted here.

Response Body

A single location

*/*
  1. response

A single location wrapped in a data envelope

data?

A place where inventory is held. This is flexible: it can be a whole site such as a warehouse or store, or a more specific spot like a room or area within one. Has an address and optionally a license.

Example Request
curl -X GET 'https://app.distru.com/public/v1/locations/00000000-0000-0000-0000-000000000113'
Example Response
{  "data": {    "address": "123 Fake Street, Beverly Hills, CA 90210, US",    "apt": null,    "city": "Beverly Hills",    "company": null,    "company_id": "00000000-0000-0000-0000-00000002c3ae",    "country": "US",    "deleted_at": null,    "id": "00000000-0000-0000-0000-000000011ef6",    "inserted_datetime": "2026-11-05T10:59:36.316037Z",    "latitude": 33.5,    "license": {      "active": true,      "expiry_datetime": "2026-12-05T10:59:36.305276Z",      "id": "00000000-0000-0000-0000-000000006cbc",      "inserted_datetime": "2026-11-05T10:59:36.305369Z",      "issue_datetime": "2026-11-05T10:59:36.305273Z",      "license_number": "CDPH-00000067",      "license_type": "Small Mixed-Light Tier 1"    },    "license_id": "00000000-0000-0000-0000-000000006cbc",    "longitude": -117.2,    "metrc_id": 42,    "name": "Place 216",    "state": "CA",    "street_address": "123 Fake Street",    "updated_datetime": "2026-11-05T10:59:36.316037Z",    "zip": "90210"  }}