machineUpsert
Create or update a spare parts machine.
Creates a new machine if it doesn't exist, or updates an existing machine based on external reference matching. Supports partial updates and maintains data integrity across operations.
Possible errors:
- SPARE_PARTS_EXTERNAL_REFERENCE_KEY_ALREADY_EXISTS_ERROR: External reference conflicts with existing machine
- SPARE_PARTS_EXTERNAL_REFERENCE_KEY_DUPLICATES_FOUND_ERROR: Duplicate external references found in the payload
- SPARE_PARTS_EXTERNAL_REFERENCE_CREATE_ERROR: Failed to create or update external reference
- SPARE_PARTS_UNKNOWN_ERROR: Unexpected error during machine upsert operation
AUTH: Role=[product.OWNER,product.EDITOR]
machineUpsert(
input: UpsertSparePartsMachineInput!
): SparePartsMachine!
Arguments
machineUpsert.input
● UpsertSparePartsMachineInput!
non-null input
Machine upsert data.
Complete specification for creating or updating the machine including external references, localized content, spare parts, and hierarchical relationships.
Type
SparePartsMachine
object
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.