GraphQL is for Nexar migration only
Use the GraphQL API only as a drop-in replacement for Nexar's GraphQL when migrating existing integrations. For new projects and full platform capabilities, use the REST API— it's the actively maintained, modern interface.
Parts by ID
Load SupPart objects when you already have numeric IDs from a prior search or integration.
Get parts by numeric ID. Only numeric string values in ids are used; non-numeric entries are ignored.
part_match (paid)
Arguments
| Parameter | Type | Required | Description |
|---|---|---|---|
ids | [String!]! | Required | Part IDs as strings (numeric values only are used) |
country | String | Optional | Accepted for API parity |
currency | String | Optional | Accepted for API parity |
distributorApi | Boolean | Optional | Live distributor pricing/stock where supported |
distributorApiTimeout | String | Optional | Accepted for API parity |
customPricingCredentials | [SupApiCredentials] | Optional | Optional distributor API credentials |
Example
GRAPHQL
1{2 supParts(ids: ["12345", "67890"]) {3 id4 mpn5 slug6 shortDescription7 manufacturer {8 name9 slug10 isDistributorApi11 }12 sellers {13 company {14 name15 }16 }17 }18}Next
SupPart— full part object reference- Search queries — find parts when you do not have IDs yet