Skip to main content
POST
/
v1.0
/
packages
/
items
/
update
json
{
  "PackageId": "PID-9a8435dc-ca6e-4a98-b761-5e6dc04447db",
  "PackageItemId": "PIID-a102d17b-09a9-4096-a597-e48c055d8d6d",
  "Price": "1.12",
  "Type": "voip"
}
{
  "PackageItemId": "PIID-4efee842-16f0-4803-9780-8c3c30d19b74",
  "PackageId": "PID-9a8435dc-ca6e-4a98-b761-5e6dc04447db",
  "ProductId": "PID-9E4F3852-5405-E9FC-2FDF-7A0530B7D862",
  "AggregatorId": "DID-1e24785ab-3f3c-7db1-89d7-956d80fdnn2",
  "DistributorId": "DID-1e24785ab-3f3c-7db1-89d7-956d80fdnn2",
  "Type": "Type 3",
  "Price": 1.12,
  "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

Example:

"PID-9a8435dc-ca6e-4a98-b761-5e6dc04447db"

PackageItemId
string
required

Package Item ID to update

Example:

"PIID-a102d17b-09a9-4096-a597-e48c055d8d6d"

Price
string
Example:

"1.12"

Monthly
boolean
Example:

false

Type
string
Example:

"voip"

Response

200 - application/json

Update Package Item

The response is of type object.