POST /accounting-payloads.json

POST /accounting-payloads.json
application/json

Body Required

Responses

POST /accounting-payloads.json
curl \
 -X POST http://api.example.com/v1/accounting-payloads.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"accountingIntegrationId":42,"payload":{},"purchaseInvoiceId":42,"response":{},"saleInvoiceId":42,"source":"quickbooks","status":"success"}'
Request example
{
  "accountingIntegrationId": 42,
  "payload": {},
  "purchaseInvoiceId": 42,
  "response": {},
  "saleInvoiceId": 42,
  "source": "quickbooks",
  "status": "success"
}
Response examples (200)
{
  "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"
}