Get a license
Returns a single license by its ID, including the Metrc sync health objects described on the list endpoint: metrc_pull_status (freshness of the data Distru pulls from Metrc) and metrc_push_status (the queue of changes Distru pushes to Metrc). Both are null unless compliance_type is METRC. Use this to resolve a license referenced elsewhere (for example the license_id on a location) into its full detail, or to poll one license's sync health.
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.
This endpoint returns eventually consistent data, with changes taking up to 1 second to propagate in responses.
Required permission: licenses_permissions_view.
Path parameters
The license's Distru ID, as returned in the id field of a license response. License numbers and IDs from external systems such as Metrc are not accepted here.
Response
A single license