SnozeDevelopers
API referenceAdmin billing

Update a billing price row

Changes an existing price and re-provisions its Polar product so the returned `polarProductId` stays current. Platform admins only; an unknown `priceId` is reported as not found.

PATCH
/v1/admin/billing/prices/{priceId}

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

priceId*string

Request Body

application/json
  1. body
amountCents?number|null
polarProductId?string|null|null
active?boolean|null
reason?string|null

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X PATCH 'https://api.snoze.dev/v1/admin/billing/prices/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "id": "string",    "plan": "free",    "interval": "month",    "variant": "string",    "amountCents": 0,    "currency": "string",    "polarProductId": "string",    "active": true,    "updatedAt": "string"  }}