The base URL for the API endpoint.
The clientId
parameter is of type TClientId
, which represents the
client ID. It is used to identify the client for whom the parts are being queried.
The siteId
parameter is a string that represents the ID of a site. It is
used to identify a specific site in the system.
Optional
partId: string = nullThe partId
parameter is a string that represents the ID of
a specific part. It is optional and can be set to null
if not needed.
an object of type IQueryParts
.
The function
Parts
is a TypeScript function that returns an object with methods for retrieving, creating, updating, and deleting parts based on a given base URL, client ID, site ID, and optional part ID.