Part
This is an object representing a Fishbowl part.
Related guide: Part
Search for parts
Searches for parts.
Parameters
-
pageNumber integerThe current page of the results.
-
pageSize integerThe number of returned results per page. (Default 100)
-
number stringThe part number.
-
description stringThe part description.
-
upc stringThe UPC code for the part.
-
type string: 'Inventory' | 'Service' | 'Labor' | 'Overhead' | 'Non-Inventory' | 'Internal Use' | 'Capital Equipment' | 'Shipping'The basic type of the part.
-
abc stringThe ABC code for the part
-
details stringThe part details.
-
hasBom booleanIndicates if the part has an associated bill of materials. True returns parts with an associated bill of materials, false does not filter the results.
-
active booleanThe active status of the UOM.
-
productNumber stringThe associated product number.
-
productDescription stringThe product description.
-
vendorPartNumber stringThe vendor part number.
-
vendorName stringThe name of the associated vendor.
Attributes
-
customFields listA list of the part's custom fields.
GET /api/parts
curl --location \ --request GET '<YOUR SERVER>/api/parts' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
{ "totalCount": 2, "totalPages": 1, "pageNumber": 1, "pageSize": 100, "results": [ { "id": 29, "number": "FG2100", "description": "Extreme Mountain Bike", "type": "Inventory", "uom": { "id": 1, "name": "Each", "abbreviation": "ea" }, "upc": "", "active": true, "hasBom": true, "hasTracking": true, "tracksSerialNumbers": true }, { "id": 31, "number": "FG2200", "description": "Custom Extreme Mountain Bike", "type": "Inventory", "uom": { "id": 1, "name": "Each", "abbreviation": "ea" }, "upc": "", "active": true, "hasBom": true, "hasTracking": true, "tracksSerialNumbers": true } ] }
Get the best cost for the part
Retrieves the best cost for a specific part. The cost will be in the currency of the vendor.
Related guide: Vendor Part Cost
Parameters
-
vendorId integerThe unique identifier for the vendor associated with the part.
-
quantity quantityThe part quantity associated with the cost.
-
uomId integerThe unique identifier for the unit of measure.
Attributes
No attributes.
GET /api/parts/:id/best-cost
curl --location \ --request GET '<YOUR SERVER>/api/parts/:id/best-cost' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
{ "totalCost": "5", "unitCost": "5", "quantity": "1", "minimumQuantity": "0", "uom": { "id": 1, "name": "Each", "abbreviation": "ea" }, "vendorPartNum": "B201" }
Delete part
Deletes the part with the specified ID.
Attributes
No attributes.
DELETE /api/parts/:id
curl --location \ --request DELETE '<YOUR SERVER>/api/parts/:id' \ --header 'Authorization: Bearer <TOKEN>'