Skip to content

Set Stable Release

Make a published release the product's stable release — the version the WordPress update-check hands out. Also used to roll back to an older version.

POST /v1/products/:id/releases/:releaseId/stable

Path Parameters

ParameterDescription
idProduct ID
releaseIdRelease ID

Response

json
{
  "data": {
    "message": "Stable release updated"
  }
}

Example

bash
curl -X POST "https://api.packedge.dev/v1/products/prd_xxx/releases/rel_xxx/stable" \
  -H "Authorization: Bearer pk_your_api_key"

Notes

  • Only a published release can be set as stable (400 otherwise)
  • There is exactly one stable release per product — the previous one is unset automatically
  • The edge cache for the update-check endpoint is busted so customers see the change immediately