Skip to main content
POST
/
v1.0
/
packages
/
update
json
{
  "PackageId": "PID-a56cf783-c249-42fa-bf52-529e5886cdd4",
  "PackageName": "Package 10",
  "Price": 300.0,
  "Monthly": true
}
{
  "PackageId": "PID-a56cf783-c249-42fa-bf52-529e5886cdd4",
  "PackageName": "Package 5 Updated",
  "DistributorId": "DID-1e24785ab-3f3c-7db1-89d7-956d80fdnn2",
  "AggregatorId": "AID-A49349FB-170E-44BF-B61E-DCC65A3FEA1A",
  "SubscriberId": "TSUID-A2AD6FB7-2D53-40CE-96E4-EBB7F7C54509",
  "Type": "sip",
  "Price": 250,
  "Monthly": false,
  "Active": true
}

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
PackageId
string
required

Package ID to update

Example:

"PID-a56cf783-c249-42fa-bf52-529e5886cdd4"

PackageName
string
Example:

"Package 10"

Description
string
Example:

"Package 10 Description"

SubscriberId
string
Example:

"SID-A2AD6FB7-2D53-40CE-96E4-EBB7F7C54509"

Type
string
Example:

"sip"

Price
number
Example:

300

Monthly
boolean
Example:

true

Response

200 - application/json

Update Package

The response is of type object.