August 2020 - Introduce Sale endpoints

Published at 2020-08-24

Changes to the API since February 2020.

Added

Experimental endpoints to report non-listed sales (see documentation)

Three endpoints have been added to manage sales and one to create sales that does not belong to listings (has not been listed on Hemnet).

These endpoints are:

  • Get information (current state) about a sale GET /sales/:id
  • Update an existing sale PATCH /sales/:id
  • Create a non-listed sale POST /sales
  • Delete an existing sale DELETE /sales/:id

These endpoints are not intended to be used to report sales on project units that should be associated with a project. They will be added in an upcoming release.

Other notes

We will remove the experimental tag as soon as they stabilise so that you have the opportunity to give feedback on these endpoints.