Assembly

Split a single Metrc source package into multiple output packages.

Creates one assembly containing every input and output. On success each output package is queued for creation in Metrc and synced asynchronously — the Metrc package identifiers are not present in the immediate response, and the source and output packages are briefly flagged as syncing.

Metrc licenses only. Up to 300 outputs per request. The whole split is applied atomically: if any output is rejected, none are created.

Required permission: assemblies_permissions_create, and assembly visibility other than "Restrict access" on your teams (admins are always allowed).

post/public/v1/assemblies/split_package

Request

  • Base URL
    https://app.distru.com
  • Auth
    HTTP bearer

Request body

source_package_idstring required

The package to split. Must be package-tracked and in a Metrc license. An ID that doesn't exist for your company returns 404, and one your team restrictions hide returns 403.

Response

The created assembly

Changes

    • info

      added the required property // to the response with the status

    • info

      added the required property /////// to the response with the status

    • info

      added the required property /////// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the required property ///// to the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property /// to the response with the status