Package
Update
Changed onUpdate an existing Package record by ID.
put/api/cp/package/{id}
Request
- Base URLhttps://app.connexcs.com
- Auth
- OAuth 2Authorization code: https://auth.connexcs.com/authorizeToken URL: https://auth.connexcs.com/token
- or HTTP bearer
Path parameters
idinteger required
Id identifier
Request body
Example request
{
"id": 12345,
"account_id": 1,
"company_id": 1,
"package_id": 1,
"st": "2025-01-17T10:30:00Z",
"et": "2025-01-17T10:30:00Z",
"qty": 123,
"auto_decrement_credit": 1,
"balance": 99.99,
"minutes": 99.99,
"min_days": 123
}Response
Operation completed successfully
Example response
{
"status": "OK"
}Changes
- info
the endpoint scheme security
oAuth2was added to the API - info
the endpoint scheme security
opaqueTokenwas added to the API - info
the endpoint scheme security
basicAuthwas removed from the API
- info