Checkout component to an asset
snipeit_checkout_componentChecks out a specified quantity of a component to an asset in Snipe-IT, requiring the component ID, asset ID, and quantity.
Instructions
POST /components/{id}/checkout: check a quantity of a component out to an asset. Per spec, assigned_to is the asset ID and assigned_qty is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the component to check out | |
| confirm | No | Required when SNIPEIT_CONFIRM_WRITES=true. Exact string "YES" to apply this write. | |
| assigned_to | Yes | Asset ID to check the component out to | |
| assigned_qty | Yes | Quantity of components to check out |