Skip to main content
View as Markdown

supParts

Get parts by ID.

Type​

SupPart object​

Part model contains the relevant data around a part, including: datasheets, specs, sellers + offers, images, etc.

supParts(
ids: [String!]!
country: String! = US
currency: String! = USD
distributorApi: Boolean
distributorApiTimeout: String! = 3s
customPricingCredentials: [SupApiCredentials!]
): [SupPart]!

Arguments​

ids ● [String!]! non-null scalar​

list of part IDs. APIv3 UIDs are also supported.

country ● String! non-null scalar​

user's country

currency ● String! non-null scalar​

user's currency

distributorApi ● Boolean scalar​

fetch latest pricing and stock data from distributor API. Company.isDistributorApi indicates if a distributor supports this feature.

distributorApiTimeout ● String! non-null scalar​

how long to wait for distributor API to respond as a duration string (e.g. 3s or 500ms) up to a max 10s

customPricingCredentials ● [SupApiCredentials!] list input​

if needed, pass along credentials for API integrations

Requires plan tier: ENTERPRISE.