Set or remove the earliest date Median may write to QuickBooks (#5895)
Changed onSeparate from the posting cutoff, which keeps deciding what Median imports and posts. Median refuses every write dated before earliestDate (or with no readable date) when it is previewed or prepared, and checks the saved date again right before every write request to QuickBooks, resends included. If the date changed or can't be read, nothing is sent until it is checked again. An item already marked sending when the date is saved may still go out. Everything else is checked against the new date. A delete is also refused unless Median has read the exact version it would delete. An item that may already be in QuickBooks keeps its state for a person. A creation of an account has no date and is unaffected. null removes the limit. Needs a signed-in, assigned accountant (403 or 404 for a service principal). Every change writes an audit_logs row (entity_type company).
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
The date being replaced
Response
The earliest write date as now recorded (null when there is no limit)
Changes
- info
endpoint added
- info