PUT /accounting-payloads/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
accountingIntegrationId integer(int32) | null
Accounting integration
-
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
purchaseInvoiceId integer(int32) | null
Purchase invoice
-
saleInvoiceId integer(int32) | null
Sale invoice
-
Source
Values are
quickbooks
,xero
, orcustom
. -
Status
Values are
success
orerror
. -
updatedAt string(date-time)
Updated at
PUT /accounting-payloads/{id}.json
curl \
-X PUT http://api.example.com/v1/accounting-payloads/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"accountingIntegrationId":42,"createdAt":"2024-05-04T09:42:00+00:00","id":42,"payload":{},"purchaseInvoiceId":42,"response":{},"saleInvoiceId":42,"source":"quickbooks","status":"success","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"accountingIntegrationId": 42,
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"payload": {},
"purchaseInvoiceId": 42,
"response": {},
"saleInvoiceId": 42,
"source": "quickbooks",
"status": "success",
"updatedAt": "2024-05-04T09:42:00+00:00"
}