We added an Upsert operation to the API.
The upsert operation inserts an object into the database if it does not already exist, or updates if it does. The operation reduces load and improves performance, especially when doing actions like:
- Send a GET HTTP request and if it fails, send a PUT HTTP request. If the GET succeeds, send a POST HTTP request.
- Send a PUT HTTP request, and if it fails, send a POST http request.
You can read more about the operation in our API documentation.