List a supplier’s items
hub_get_supplier_itemsThe catalogue items one supplier carries, with the cost the merchant pays and the supplier’s own part number. Answers 'what do I buy from this supplier', 'what does this supplier charge me for X'. CALL THIS BEFORE create_purchase_order: an order may only contain items the supplier is linked to, and the variantId + unitCost you need for each line come from here. PASS outletId when you are about to build an order: that narrows the list to items whose stock is actually tracked at that outlet — the only ones a receive can add stock to — and adds onHand, the quantity there right now, so you can see what genuinely needs reordering. Search and paging work the same either way. An item the merchant expects but does not see here is simply not linked yet — get_linkable_items then link_supplier_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page, default 1 | |
| search | No | Match product name, item name, SKU, barcode or part number | |
| outletId | No | Outlet id from get_outlets — narrows to stock-managed items there and adds onHand | |
| pageSize | No | Rows per page, default 20 | |
| supplierId | Yes | Supplier id from get_suppliers — not a name |