Queries
Object: Product
products
Paginated list of products with optional filters.
Arguments:
| Argument | Type | Default | Description |
|---|---|---|---|
filter.partnumber | String | — | Partial match on part number |
filter.description | String | — | Partial match on description |
filter.model | String | — | Partial match on model |
first | Int | 15 | Items per page |
page | Int | 1 | Page number |
{
products(filter: { partnumber: "ABC" }, first: 10, page: 1) {
data {
id
partnumber
description
model
list_price
msrp
moq
tariff_surcharge
allow_tariff
other_details
created_at
updated_at
}
paginatorInfo {
currentPage
lastPage
total
hasMorePages
}
}
}
product
Find a single product by ID.
{
product(id: "123") {
id
partnumber
description
model
list_price
msrp
}
}
Method
Path