Skip to main content
PUT
Update credit pack
This reference describes API version 2026-05-12. Send Commet-Version: 2026-05-12 with your request.

Authorizations

x-api-key
string
header
required

Headers

Commet-Version
string
default:2026-05-12

API version used by this reference. Send this header to select this contract explicitly.

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 1 - 100
description
string
Maximum string length: 255
credits
integer
Required range: 1 <= x <= 9007199254740991
price
integer
Required range: 0 <= x <= 9007199254740991
isActive
boolean
planIds
string[]

Plans that sell the credit pack, replacing the current ones. Empty means every plan; omitted keeps them.

Response

Success

success
any
required
data
object
required