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
}
'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
}
'JWT Authorization header using the Bearer scheme. Obtain token from /v1.0/OAuth2/tokens endpoint.
Package object
Success