Search documentation

Search across all documentation pages

Get API Key

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.
Queries

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

ParameterTypeRequiredDescription
ids
[String!]!RequiredPart IDs as strings (numeric values only are used)
country
StringOptionalAccepted for API parity
currency
StringOptionalAccepted for API parity
distributorApi
BooleanOptionalLive distributor pricing/stock where supported
distributorApiTimeout
StringOptionalAccepted for API parity
customPricingCredentials
[SupApiCredentials]OptionalOptional distributor API credentials

Example

GRAPHQL
1{
2 supParts(ids: ["12345", "67890"]) {
3 id
4 mpn
5 slug
6 shortDescription
7 manufacturer {
8 name
9 slug
10 isDistributorApi
11 }
12 sellers {
13 company {
14 name
15 }
16 }
17 }
18}

Next