Skip to main content
POST
Downgrade a service

Authorizations

Authorization
string
header
required

API key created in Admin, API. Send it as Authorization: Bearer <key>. Each key has its own permissions and optional IP allow list.

Headers

Idempotency-Key
string

Any unique string up to 255 characters. Retrying with the same key and body replays the first response (header Idempotent-Replayed: true) instead of running the action twice. The same key with a different body returns 409 idempotency_conflict.

Maximum string length: 255

Path Parameters

service
integer
required

Service id.

Body

application/json
new_product_id
integer
required

Target product id from the downgrade options.

credit_balance
boolean

Response

Accepted. The work continues in a queued job.

data
object
required
meta
object
required
message
string

Human readable confirmation.