Skip to main content

UpdateCustomerCollectionInput

Changes to a customer collection. Omitted fields stay as they are.

input UpdateCustomerCollectionInput {
amount: Float
bankAccountId: ID
collectionDate: DateTime
collectionMethod: CollectionMethod
currency: String
exchangeRate: Float
notes: String
referenceNumber: String
}

Fields​

UpdateCustomerCollectionInput.amount ● Float scalar​

The new amount, in the collection's currency. Must be positive.

UpdateCustomerCollectionInput.bankAccountId ● ID scalar​

The ID of the bank account that received the money.

UpdateCustomerCollectionInput.collectionDate ● DateTime scalar​

The new date the money was received.

UpdateCustomerCollectionInput.collectionMethod ● CollectionMethod enum​

The new way the customer paid.

UpdateCustomerCollectionInput.currency ● String scalar​

ISO 4217 currency code.

UpdateCustomerCollectionInput.exchangeRate ● Float scalar​

The new exchange rate to the organization's base currency.

UpdateCustomerCollectionInput.notes ● String scalar​

Free-text notes about the collection.

UpdateCustomerCollectionInput.referenceNumber ● String scalar​

The customer's reference for the payment.

Member Of​

updateCustomerCollection mutation