Skip to content

BillptGetStock

Checks item stock in Bill.pt. Allows filtering by specific item or warehouse.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential
item_idtextNoFilter by specific item
warehouse_idtextNoFilter by specific warehouse

This module requires a billpt type credential with the following fields:

  • API Token: Bill.pt API access token
{
"success": true,
"stock": [ { "item_id": 1, "quantity": 50, ... } ],
"total": 10
}

GET /stock - https://api.bill.pt

{
"item_id": "456"
}
{
"warehouse_id": "1"
}
  • If no filters are specified, stock for all items is returned
  • Stock is automatically calculated from issued tax documents
  • You can filter by item and/or warehouse simultaneously