Mutations
addInventoriesToReceipt
Add multiple inventories to receipt.
MUTATION
deprecated
addInventoriesToReceipt(input: [AddInventoryToReceiptInput]): AddInventoriesToReceiptUse AddItemsToReceipt instead, which allows for both part and non-part items to be added to a receipt.
Arguments
input
Returns
receipt
Mutation
mutation AddInventoriesToReceipt {
addInventoriesToReceipt {
receipt {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Response
{
"data": {
"addInventoriesToReceipt": {
"receipt": {
"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 AddInventoriesToReceipt {
addInventoriesToReceipt {
receipt {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Response
{
"data": {
"addInventoriesToReceipt": {
"receipt": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}
}