Mutations
mergeMultiplePartInventory
Bulk-merges freed part inventory lots into their merge groups (V2), one merge per group. No-op unless inventory merging is enabled for the organization.
MUTATION
mergeMultiplePartInventory(input: MergeMultiplePartInventoryInput): MergeMultiplePartInventoryArguments
Returns
partInventories
partInventoryIds
[Int]
Mutation
mutation MergeMultiplePartInventory {
mergeMultiplePartInventory {
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
partInventoryIds
}
}Response
{
"data": {
"mergeMultiplePartInventory": {
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
],
"partInventoryIds": [
1
]
}
}
}Was this page helpful?
⌘I
Mutation
mutation MergeMultiplePartInventory {
mergeMultiplePartInventory {
partInventories {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
partInventoryIds
}
}Response
{
"data": {
"mergeMultiplePartInventory": {
"partInventories": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
],
"partInventoryIds": [
1
]
}
}
}