manufacturers
Retrieves a paginated list of manufacturers available in the storefront.
Authentication
Public Access: Accessible with the public API key
Query Structure
{
manufacturers(first: Int, after: String, last: Int, before: String) {
# ManufacturerConnection fields
}
}Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
| first | Int | No | Returns the first n elements. |
| after | String | No | Returns elements after cursor. |
| last | Int | No | Returns the last n elements. |
| before | String | No | Returns elements before cursor. |
Return Type
Returns a ManufacturerConnection containing a paginated list of manufacturers.
Example
query {
manufacturers(first: 10) {
edges {
node {
id
name
}
cursor
}
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
}
}