transactionUpdate Mutation
Update transaction.
Requires the following permissions: OWNER and HANDLE_PAYMENTS for apps, HANDLE_PAYMENTS for staff users. Staff user cannot update a transaction that is owned by the app.
transactionUpdate(id: ID, token: UUID, transaction: TransactionUpdateInput, transactionEvent: TransactionEventInput): TransactionUpdate
Returns
Show return type
type TransactionUpdate {
transaction: TransactionItem
errors: [TransactionUpdateError!]!
}Arguments
id
id · ID
The ID of the transaction. One of field id or token is required.
token
token · UUID
The token of the transaction. One of field id or token is required.
transaction
transaction · TransactionUpdateInput
Input data required to create a new transaction object.
transactionEvent
transactionEvent · TransactionEventInput
Data that defines a transaction transaction.
Schema: Saleor 3.23.43. Download SDL.