BillptGetStock
Description
Section titled “Description”Checks item stock in Bill.pt. Allows filtering by specific item or warehouse.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | Bill.pt credential |
| item_id | text | No | Filter by specific item |
| warehouse_id | text | No | Filter by specific warehouse |
Credentials
Section titled “Credentials”This module requires a billpt type credential with the following fields:
- API Token: Bill.pt API access token
Output
Section titled “Output”{ "success": true, "stock": [ { "item_id": 1, "quantity": 50, ... } ], "total": 10}GET /stock - https://api.bill.pt
Usage Example
Section titled “Usage Example”Check stock for an item
Section titled “Check stock for an item”{ "item_id": "456"}Check stock for a warehouse
Section titled “Check stock for a warehouse”{ "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
Related Nodes
Section titled “Related Nodes”- BillptGetItems - Get items
- BillptCreateItem - Create item
- BillptCreateDocument - Create tax document