Suppliers
The suppliers you buy from and what you buy from each.
costcrunch 0.1.0
cost suppliers list
List your suppliers with total spend and first/last purchase dates, biggest spend first.
- Command line
cost suppliers list- MCP tool
suppliers_list- Python
cc.suppliers.list()
| Parameter | Type | Description |
|---|---|---|
search--search | string | Only suppliers whose name contains this. |
cost suppliers get <supplier-id>
Get one supplier: spend (all time and last 30/60/90 days), branches/addresses and sales rep.
- Command line
cost suppliers get <supplier-id>- MCP tool
suppliers_get- Python
cc.suppliers.get()
| Parameter | Type | Description |
|---|---|---|
supplier_idrequired | string | Supplier id. |
cost suppliers materials <supplier-id>
What you buy from a supplier: each material with its latest, average, min and max price.
- Command line
cost suppliers materials <supplier-id>- MCP tool
suppliers_materials- Python
cc.suppliers.materials()
| Parameter | Type | Description |
|---|---|---|
supplier_idrequired | string | Supplier id. |
search--search | string | Only materials matching this. |
purchase_type--purchase-type | string | Only this kind of line. One of: materials, service, freight, adjustment, other |
limit--limit | integer | Max materials (1-200). Default: 25 |
offset--offset | integer | Skip this many (paging). Default: 0 |