Get a location
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.
Path parameters
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
A single location
Changes
No recorded changes to this endpoint across all 1 revision of this API.