Edit a release
const url = 'http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70';const options = { method: 'PATCH', headers: { 'idempotency-key': '3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"title":"Night Drive (Remastered)","catalog_no":null,"artists":[{"name":"Miriam Vale"},{"name":"Coast Music"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8891/api/v1/releases/9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'idempotency-key: 3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17' \ --data '{ "title": "Night Drive (Remastered)", "catalog_no": null, "artists": [ { "name": "Miriam Vale" }, { "name": "Coast Music" } ] }'Correct the work at any point in its life — before, during and after any of its products publish. Only the product is ever frozen: a publish pins that product's audio versions and freezes its artwork, and this route leaves both exactly as they were, so a record already pressed keeps what it was pressed with while the release goes on describing the work as it now stands. Merge semantics: present fields are replaced, absent fields untouched, and null clears label, description, notes, catalog_no, original_release_date and either genre slot. title has no null — a release nobody could name is not a state this API accepts — and neither has rights, whose lines default rather than empty; clearing label puts it back to the primary artist for the same reason. artists is the whole credit list, put in order: position 1 is the primary artist, so a reorder is how that changes, a name left out is a credit dropped, and a name the release has not seen is added to its vocabulary. An empty body is a 400, as is a body whose only keys this operation does not define. An edit recomposes the generated artwork of every draft Quick product of the release that has tracks: the composed sheets that print the title, the primary artist, the rights lines or the catalogue number are redrawn in the background, a sheet whose printed text did not change is left as it is, and until the new sheet lands the product reports it as artwork_sheet_stale or artwork_sheet_composing and cannot publish. A product that has left draft is not recomposed. A 500 means the edit was saved but the recompose could not be requested: retry with the same Idempotency-Key until it answers 200, since each retry requests it again. 404 on an unknown release and on another organisation's — which of the two is not disclosed. 422 when one name is credited twice, and for a genre slug your organisation cannot see or one sent to the wrong slot. 409 with code CONFLICT when the Idempotency-Key was already used for a different body, and with code IDEMPOTENCY_IN_FLIGHT — transient, so retry — when a repeat lands while the first is still in flight. Requires the catalogue:write scope. Full flow: see the minimal path guide.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Example
9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70Header Parameters
Section titled “Header Parameters”Example
3f8a1c62-9d5e-4b7a-8f21-0c4e6b9d2a17Unique key for this write. Retrying with the same key replays the first response instead of creating a duplicate; reusing it for a different body is a 409. Keys are scoped to the operation, so the same key may also be sent to a different endpoint.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
object
object
Example
{ "title": "Night Drive (Remastered)", "catalog_no": null, "artists": [ { "name": "Miriam Vale" }, { "name": "Coast Music" } ]}Responses
Section titled “ Responses ”Default Response
object
object
object
object
object
object
object
object
Where the song comes from: original, written for this recording; cover, a recording of a song someone else wrote. A track that has never been given one is original.
The recordings this track samples, in order; empty when it samples none.
object
object
How this product's artwork is prepared. Quick: one image per printed face, everything not supplied is composed for you. Designer: one print-ready PDF per printed sheet, built on the published templates, nothing composed. Chosen when the product is created and fixed for its lifetime.
object
object
object
object
Artwork processing lifecycle. composed means the face is printed as part of another face's sheet and has no file of its own — the spine, which is drawn onto the cover wrap. Nothing is owed for it, no upload can be sent to it, and it never blocks publishing; that is what tells it apart from awaiting_upload. ready is reserved for a face whose own artefact exists.
The SHA-256 of the record's file, as declared for its upload, or null when no file has been declared.
object
object
object
Example
{ "id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70", "status": "active", "title": "Night Drive", "primary_artist": "Miriam Vale", "label": "Miriam Vale", "additional_artists": [], "rights": { "sound_recording": { "holder": "Miriam Vale", "year": 2026 }, "copyright": { "holder": "Miriam Vale", "year": 2026 } }, "description": null, "notes": null, "original_release_date": null, "catalog_no": null, "main_genre": "electronic", "sub_genre": "deep-house", "tracks": [ { "id": "7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40", "release_id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70", "title": "Headlights", "subtitle": null, "primary_artist": "Miriam Vale", "additional_artists": [], "rightsholders": [], "isrc": "GBES72600101", "explicit": false, "content_type_classification": "Musical Work", "song_origin": "original", "cover": null, "samples": [], "filename": "01-headlights.wav", "checksum_sha256": null, "status": "ready", "locked": true, "audio_version": 1, "upload": null, "duration_seconds": 227, "sampling_rate": 44100, "bit_depth": null, "lufs": -9.4, "true_peak": -0.8, "preview_url": "https://assets.staging.elasticstage.com/previews/7a1e….mp3", "error_code": null, "error_detail": null, "created_at": "2026-07-29T10:04:02Z", "updated_at": "2026-07-29T10:32:00Z" }, { "id": "7a1f3c4d-5e6f-4708-9a81-0b1c2d3e4f50", "release_id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70", "title": "Overpass", "subtitle": null, "primary_artist": "Miriam Vale", "additional_artists": [], "rightsholders": [], "isrc": "GBES72600102", "explicit": false, "content_type_classification": "Musical Work", "song_origin": "original", "cover": null, "samples": [], "filename": "overpass.wav", "checksum_sha256": null, "status": "ready", "locked": true, "audio_version": 1, "upload": null, "duration_seconds": 201, "sampling_rate": 44100, "bit_depth": null, "lufs": -9.4, "true_peak": -0.8, "preview_url": "https://assets.staging.elasticstage.com/previews/7a1f….mp3", "error_code": null, "error_detail": null, "created_at": "2026-07-29T10:04:02Z", "updated_at": "2026-07-29T10:32:00Z" }, { "id": "7a205d6e-7f80-4912-9ab1-1c2d3e4f5061", "release_id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70", "title": "Return", "subtitle": null, "primary_artist": "Miriam Vale", "additional_artists": [], "rightsholders": [], "isrc": "GBES72600103", "explicit": false, "content_type_classification": "Musical Work", "song_origin": "original", "cover": null, "samples": [], "filename": "return.wav", "checksum_sha256": null, "status": "ready", "locked": true, "audio_version": 1, "upload": null, "duration_seconds": 254, "sampling_rate": 44100, "bit_depth": null, "lufs": -9.4, "true_peak": -0.8, "preview_url": "https://assets.staging.elasticstage.com/previews/7a20….mp3", "error_code": null, "error_detail": null, "created_at": "2026-07-29T10:04:02Z", "updated_at": "2026-07-29T10:32:00Z" } ], "products": [ { "id": "44c8e1f2-3a4b-4c5d-9e60-7f8a9b0c1d2e", "release_id": "9c3f1a2b-4d5e-4f60-8a71-2b3c4d5e6f70", "medium": "vinyl", "status": "published", "artwork_method": "Quick", "readiness": "locked", "ean": "5063933591880", "catalog_no": "5063933591880", "booklet": false, "price_category": "medium", "release_date": "2026-07-29", "quantity_limit": null, "promo_release": false, "territories": [], "territories_exclude": false, "explicit": false, "sides": [ { "label": "A", "tracks": [ "7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40", "7a1f3c4d-5e6f-4708-9a81-0b1c2d3e4f50" ] }, { "label": "B", "tracks": [ "7a205d6e-7f80-4912-9ab1-1c2d3e4f5061" ] } ], "capacity": [ { "label": "A", "used_seconds": 428, "limit_seconds": 1380, "measured": true }, { "label": "B", "used_seconds": 254, "limit_seconds": 1380, "measured": true } ], "audio_versions": { "7a1e2b3c-4d5e-4f60-8a71-9b0c1d2e3f40": 1, "7a1f3c4d-5e6f-4708-9a81-0b1c2d3e4f50": 1, "7a205d6e-7f80-4912-9ab1-1c2d3e4f5061": 1 }, "validation_errors": [], "warnings": [], "artwork": [ { "id": "1c2a3b4c-5d6e-4f70-8981-0a1b2c3d4e5f", "part": "front_cover", "status": "ready", "auto_generated": false, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e", "checksum_sha256": "5e7b9d1f3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5a7b9d1f3a5c7e" }, { "id": "9d3b4c5d-6e7f-4801-9a12-3b4c5d6e7f80", "part": "spine", "status": "composed", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null }, { "id": "9e4c5d6e-7f80-4912-9b23-4c5d6e7f8091", "part": "back_cover", "status": "ready", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null }, { "id": "9f5d6e7f-8091-4a23-9c34-5d6e7f8091a2", "part": "vinyl_labels_a", "status": "ready", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null }, { "id": "a06e7f80-91a2-4b34-9d45-6e7f8091a2b3", "part": "vinyl_labels_b", "status": "ready", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null }, { "id": "a17f8091-a2b3-4c45-9e56-7f8091a2b3c4", "part": "inner_sleeve_front", "status": "ready", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null }, { "id": "a2890102-b3c4-4d56-9f67-8091a2b3c4d5", "part": "inner_sleeve_back", "status": "ready", "auto_generated": true, "locked": true, "upload": null, "error_code": null, "error_detail": null, "source_image_id": null, "checksum_sha256": null } ], "model": { "status": "ready", "error": null, "built_at": "2026-07-29T10:41:35Z" }, "sheets": [ { "id": "b3901213-c4d5-4e67-8a78-91a2b3c4d5e6", "sheet": "cover", "disc": null, "status": "ready", "current": true, "print": null, "previews": null, "composed_at": "2026-07-29T10:38:12Z", "error_code": null, "error_detail": null }, { "id": "b4a12324-d5e6-4f78-8b89-a2b3c4d5e6f7", "sheet": "labels", "disc": 1, "status": "ready", "current": true, "print": null, "previews": null, "composed_at": "2026-07-29T10:38:12Z", "error_code": null, "error_detail": null }, { "id": "b5b23435-e6f7-4089-8c9a-b3c4d5e6f708", "sheet": "inner_sleeve", "disc": 1, "status": "ready", "current": true, "print": null, "previews": null, "composed_at": "2026-07-29T10:38:12Z", "error_code": null, "error_detail": null } ], "factory": { "result": "accepted", "received_at": "2026-07-29T10:41:02Z", "decided_at": "2026-07-29T10:41:37Z", "reason": null, "warnings": [] }, "publish_failure": null, "supersedes": null, "superseded_by": null, "created_at": "2026-07-29T10:20:44Z", "updated_at": "2026-07-29T10:41:37Z" } ], "validation_errors": [], "created_at": "2026-07-29T10:02:11Z", "updated_at": "2026-07-29T10:41:37Z"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}Default Response
object
Example
{ "code": "VALIDATION_ERROR"}