Skip to content

Update Release

Update a release's notes, file, compatibility fields, or status. Only include fields you want to change.

PATCH /v1/products/:id/releases/:releaseId

Path Parameters

ParameterDescription
idProduct ID
releaseIdRelease ID

Request Body

FieldTypeDescription
releaseNotesstringChangelog / release notes
filePathstringNew storage path (replacing the file removes the orphaned old object)
fileNamestringFile name
fileSizenumberFile size in bytes
statusstringdraft or published — publishing makes it the stable release
requiresWpstringMinimum WordPress version
testedWpstringTested-up-to WordPress version
requiresPhpstringMinimum PHP version

Version is immutable

version cannot be changed once a release exists — customers and the update channel pin against it. Sending a different version returns 400; create a new release instead.

Response

json
{
  "data": {
    "message": "Release updated"
  }
}

Example

bash
curl -X PATCH "https://api.packedge.dev/v1/products/prd_xxx/releases/rel_xxx" \
  -H "Authorization: Bearer pk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "published",
    "releaseNotes": "Now with dark mode"
  }'

Notes

  • Publishing (status: "published") automatically makes this the stable release and busts the edge cache for the WordPress update-check
  • Other edits also invalidate cached update metadata so changes serve quickly