Mutations
addItemsToReceipt
Adds items to a receipt.
MUTATION
addItemsToReceipt(input: [AddItemToReceiptInput]): AddItemsToReceiptArguments
input
Returns
receipt
Mutation
mutation AddItemsToReceipt {
addItemsToReceipt {
receipt {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Response
{
"data": {
"addItemsToReceipt": {
"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 AddItemsToReceipt {
addItemsToReceipt {
receipt {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Response
{
"data": {
"addItemsToReceipt": {
"receipt": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
}
}