curl --request POST \
--url https://api.skulabs.com/inventory/deduct_serial_numbers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"item_id": "<string>",
"serial_numbers": [
"<string>"
]
}
'{
"success": true
}Deduct serial numbers from inventory, marking them as used or shipped.
curl --request POST \
--url https://api.skulabs.com/inventory/deduct_serial_numbers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"item_id": "<string>",
"serial_numbers": [
"<string>"
]
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Serial numbers deducted
Whether the operation succeeded