Mutations
deletePurchaseOrderLine
Deletes a line item from a purchase order.
MUTATION
deletePurchaseOrderLine(etag: String!, id: ID!): DeletePurchaseOrderLineArguments
etag
String!
required
id
ID!
required
Returns
id
Int
reorderedPurchaseOrderLines
Mutation
mutation DeletePurchaseOrderLine($etag: String!, $id: ID!) {
deletePurchaseOrderLine(etag: $etag, id: $id) {
id
reorderedPurchaseOrderLines {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"etag": "string",
"id": "id"
}Response
{
"data": {
"deletePurchaseOrderLine": {
"id": 1,
"reorderedPurchaseOrderLines": [
{
"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 DeletePurchaseOrderLine($etag: String!, $id: ID!) {
deletePurchaseOrderLine(etag: $etag, id: $id) {
id
reorderedPurchaseOrderLines {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"etag": "string",
"id": "id"
}Response
{
"data": {
"deletePurchaseOrderLine": {
"id": 1,
"reorderedPurchaseOrderLines": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
]
}
}
}