If the /instruments/create API is called for an instrument that already exists in our system (i.e. has an existing instrument_id, it is treated it as an upsert and an update on the existing instrument is performed. The response to the request will then contain the entry previously_existed: true.
Note that Unit21 selectively ignores upserts if the request is identical to a previous request. The response to any isgnored upsert will contain the field ignored: true.
The response will consist of the following fields:
Unique identifier of the instrument on your platform
Internal ID of the entity within Unit21's system
If entity (with the same instrument_id) already exists
Updates to an instrument's instrument_id are not allowed.
You can also batch upload instruments to instruments/create.
Click Try It! to start a request and see the response here!