SparePartsMachine
Spare parts machine entity for GraphQL federation.
Represents a machine or equipment that contains spare parts and can have hierarchical sub-machines. Used for organizing spare parts catalogs with support for nested machine structures and cross-system integration.
type SparePartsMachine {
id: ID!
parts: [SparePart!]
media: SparePartsMachineMedia
sparePartProducts(
input: SparePartsMachineProductSearchInput
): SparePartsResponse
name(
language: String
): [LocalizedString!]!
description(
language: String
): [LocalizedString!]
slug(
language: String
): [LocalizedString!]
machines: [SparePartsMachine!]
}
Fields
SparePartsMachine.id
● ID!
non-null scalar
Unique identifier for the spare parts machine.
System-generated unique identifier used for referencing this specific machine across all systems and integrations.
SparePartsMachine.parts
● [SparePart!]
list object
Collection of spare parts associated with this machine.
List of replacement components and parts that are compatible with or required for this machine's operation and maintenance.
SparePartsMachine.media
● SparePartsMachineMedia
object
SparePartsMachine.sparePartProducts
● SparePartsResponse
object
Retrieve products associated with spare parts for this machine.
Returns a paginated collection of products that correspond to the spare parts in this machine. Matches spare part with product catalog entries to provide complete product information for spare parts ordering and management.
SparePartsMachine.sparePartProducts.input
● SparePartsMachineProductSearchInput
input
Search and filtering criteria for spare part products.
Optional search parameters to filter and sort products associated with this machine's spare parts. If not provided, returns all accessible products matching the spare part.
SparePartsMachine.name
● [LocalizedString!]!
non-null object
Localized names for the machine.
Collection of translated machine names in multiple languages to support international catalogs and multilingual user interfaces.
SparePartsMachine.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.
SparePartsMachine.description
● [LocalizedString!]
list object
Detailed descriptions of the machine.
Comprehensive information about the machine's purpose, specifications, and usage in multiple languages.
SparePartsMachine.description.language
● String
scalar
Language code for filtering localized descriptions.
Two-character language code to retrieve descriptions in a specific language. If not provided, returns all available language variants.
SparePartsMachine.slug
● [LocalizedString!]
list object
URL-friendly identifiers for the machine.
Human-readable URL segments used for SEO-friendly navigation and localized machine pages. Must be unique per language.
SparePartsMachine.slug.language
● String
scalar
Language code for filtering localized slugs.
Two-character language code to retrieve slugs in a specific language. If not provided, returns all available language variants.
SparePartsMachine.machines
● [SparePartsMachine!]
list object
Child machines nested within this machine.
Hierarchical collection of sub-machines that belong to this parent machine, enabling complex equipment structures and organizational relationships.
Returned By
machine
query ● machineCreate
mutation ● machineUpsert
mutation
Member Of
SparePartsMachine
object ● SparePartsMachineResponse
object