CreateSparePartInput
Input for creating a new spare part.
Defines the required information to register a new spare part in the system including identification, localized names, and inventory data.
input CreateSparePartInput {
name: [LocalizedStringInput!]
quantity: Int!
sku: String!
}
Fields
CreateSparePartInput.name ● [LocalizedStringInput!] list input
Localized names for the spare part.
Collection of translated names in multiple languages. Each entry must have unique language codes within the array.
CreateSparePartInput.quantity ● Int! non-null scalar
Initial quantity of the spare part.
Must be a positive integer representing the number of units available in inventory.
CreateSparePartInput.sku ● String! non-null scalar
Stock Keeping Unit identifier.
Product code used for inventory tracking and ordering. Cannot be empty, and is limited to 255 characters.
Member Of
CreateSparePartsMachineInput input ● UpsertSparePartsMachineInput input