Update a deposit
Updates an existing deposit.
NOTE: If you include lines, QuickBooks Desktop replaces that line list with the array you send, so include unchanged lines you want to keep and use id: "-1" for new lines.
Path parameters
The QuickBooks-assigned unique identifier of the deposit to update.
The QuickBooks-assigned unique identifier of the deposit to update.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"transactionDate": "2024-10-01",
"depositToAccountId": "80000001-1234567890",
"memo": "Batch settlement deposit",
"cashBack": {
"accountId": "80000001-1234567890",
"memo": "Cash back from deposit",
"amount": "1000.00"
},
"currencyId": "80000001-1234567890",
"exchangeRate": 1.2345,
"lines": [
{
"id": "456DEF-1234567890",
"paymentTransactionId": "123ABC-1234567890",
"paymentTransactionLineId": "456DEF-1234567890",
"overrideMemo": "Batch settlement deposit",
"overrideCheckNumber": "1234567890",
"overrideClassId": "80000001-1234567890",
"entityId": "80000001-1234567890",
"accountId": "80000001-1234567890",
"memo": "Payment batched into settlement deposit",
"checkNumber": "1234567890",
"paymentMethodId": "80000001-1234567890",
"classId": "80000001-1234567890",
"amount": "1000.00"
}
]
}Response
Returns the updated deposit.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_deposit",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"transactionDate": "2024-10-01",
"depositToAccount": {
"id": "80000001-1234567890",
"fullName": "Checking"
},
"memo": "Batch settlement deposit",
"totalAmount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"totalAmountInHomeCurrency": "1234.56",
"cashBack": {
"id": "456DEF-1234567890",
"objectType": "qbd_deposit_cash_back_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Petty Cash"
},
"memo": "Cash back from deposit",
"amount": "1000.00"
},
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"transactionType": "invoice",
"paymentTransactionId": "123ABC-1234567890",
"id": "456DEF-1234567890",
"objectType": "qbd_deposit_line",
"paymentTransactionLineId": "456DEF-1234567890",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"account": {
"id": "80000001-1234567890",
"fullName": "Undeposited Funds"
},
"memo": "Payment batched into settlement deposit",
"checkNumber": "1234567890",
"paymentMethod": {
"id": "80000001-1234567890",
"fullName": "Credit Card"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Retail Sales"
},
"amount": "1000.00"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
Changed in 3 of the 46 revisions of this API.131
- ●
added the new
unknownenum value to thelines/items/transactionType/anyOf[subschema #1]/response property for the response status200response-property-enum-value-added
- ●
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
the
cashBack/accountIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
currencyIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
depositToAccountIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/accountIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/classIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/entityIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/idrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/overrideClassIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/paymentMethodIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/paymentTransactionIdrequest property's maxLength was set to36request-property-max-length-set
- ●
the
lines/items/paymentTransactionLineIdrequest property's maxLength was set to36request-property-max-length-set
- ●
- ○
endpoint added
endpoint-added
- ○