Skip to main content
POST
/
inventory
/
deduct_serial_numbers
Inventory - Deduct Serial Numbers
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
item_id
string
required

Item ID

serial_numbers
string[]
required

Serial numbers to deduct

Response

Serial numbers deducted

success
boolean
required

Whether the operation succeeded