Skip to main content
POST
/
v1.0
/
packages
Creates a new Package
curl --request POST \
  --url https://api.example.com/v1.0/packages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "PackageName": "<string>",
  "DistributorId": "<string>",
  "AggregatorId": "<string>",
  "SubscriberId": "<string>",
  "Type": "<string>",
  "Price": 123,
  "Monthly": true,
  "Active": true
}
'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.

Body

Package object

PackageName
string | null
DistributorId
string | null
AggregatorId
string | null
SubscriberId
string | null
Type
string | null
Price
number<double>
Monthly
boolean
Active
boolean

Response

200

Success