Skip to main content

SparePart

Represents a spare part that can be associated with a machine.

Contains detailed information about replacement components including identification, localized names, inventory data, and availability.

type SparePart {
id: ID!
sku: String!
quantity: Int!
name(language: String): [LocalizedString!]
product(hidden: Boolean): IBaseProduct
}

Fields

SparePart.id ● ID! non-null scalar

Unique identifier for the spare part.

System-generated immutable ID used for database operations and cross-reference lookups.

SparePart.sku ● String! non-null scalar

Stock Keeping Unit identifier for the spare part.

Unique product code used for inventory tracking and ordering. Must be unique within the system.

SparePart.quantity ● Int! non-null scalar

Available quantity of this spare part.

Current inventory count representing how many units are in stock and available for use or sale.

SparePart.name ● [LocalizedString!] list object

Localized names for the spare part.

Collection of translated names in multiple languages to support international catalogs and multilingual interfaces.

SparePart.name.language ● String scalar

Language code for filtering localized names.

Two-character language code to retrieve names in a specific language. If not provided, returns all available language variants.

SparePart.product ● IBaseProduct interface

SparePart.product.hidden ● Boolean scalar

Member Of

SparePartsMachine object ● SparePartsResponse object