Checkin component from an asset
snipeit_checkin_componentChecks in a specified quantity of components to Snipe-IT inventory using the components_assets pivot record ID and required checkin quantity.
Instructions
POST /components/{id}/checkin: check a quantity of a component back in. Per spec, the id here is the record ID in the components_assets join table (the pivot/relationship ID), and checkin_qty is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the record in the components_assets join table (pivot ID) | |
| confirm | No | Required when SNIPEIT_CONFIRM_WRITES=true. Exact string "YES" to apply this write. | |
| checkin_qty | Yes | Quantity of components to check in |