Mutations
updatePurchaseOrderLine
Updates a line item on a purchase order.
MUTATION
updatePurchaseOrderLine(input: UpdatePurchaseOrderLineInput!): UpdatePurchaseOrderLineArguments
input
required
Returns
purchaseOrderLine
Mutation
mutation UpdatePurchaseOrderLine($input: UpdatePurchaseOrderLineInput!) {
updatePurchaseOrderLine(input: $input) {
purchaseOrderLine {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"input": {
"etag": "string",
"id": 1
}
}Response
{
"data": {
"updatePurchaseOrderLine": {
"purchaseOrderLine": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation UpdatePurchaseOrderLine($input: UpdatePurchaseOrderLineInput!) {
updatePurchaseOrderLine(input: $input) {
purchaseOrderLine {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"input": {
"etag": "string",
"id": 1
}
}Response
{
"data": {
"updatePurchaseOrderLine": {
"purchaseOrderLine": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}
}