Mutations
updatePartInventory
Updates a part inventory record.
MUTATION
updatePartInventory(input: UpdatePartInventoryInput): UpdatePartInventoryArguments
Returns
partInventory
splitInventory
Mutation
mutation UpdatePartInventory {
updatePartInventory {
partInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
splitInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Response
{
"data": {
"updatePartInventory": {
"partInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
},
"splitInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation UpdatePartInventory {
updatePartInventory {
partInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
splitInventory {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
}Response
{
"data": {
"updatePartInventory": {
"partInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
},
"splitInventory": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}
}