Move packages

distru-move-packagesWriteMetrc

Moves whole packages to another location. Changes Metrc only when given a Metrc room.

Inputs

Every tool also takes the common inputs.

FieldTypeRequiredDescription
packageIdsstring[]YesAll on one license. Resolve via distru-search-packages.
locationIdstringYesDestination, on the packages' license. Resolve via distru-search-locations.
metrcLocationIdstringNoAlso moves the packages to this Metrc room, sent to Metrc in the background after the save (distru-search-metrc-activities). Refused where the state doesn't use Metrc rooms. Resolve via distru-search-metrc-locations (licenseId).

Output

Presence on a nested field assumes its parent exists.

FieldTypePresence
packagesobject[]Always
packages[].idstringAlways
packages[].metrcLabelstringAlways
packages[].locationobjectAlways
packages[].location.idstringAlways
packages[].location.namestringAlways
What the AI reads

Moves whole packages to another location on their license, completed at once. Every package must be active with quantity; packages already at locationId stay put. Without metrcLocationId nothing is sent to Metrc. BioTrack packages are not supported. To move part of a package, use distru-split-package with locationId. Returns the packages with their location.