Get Package Price API

Retrieve the monthly subscription price for a specific group/plan

Pricing

Get Package Price API

Retrieve the monthly subscription price for any subscription group. Get accurate pricing information for 1-month plans.

Monthly Price

1-month subscription cost.

Group-Based

Pricing per subscription tier.

Real-Time

Current pricing data.


Endpoint Overview

QUERY/graphql

Retrieve the monthly (1-month) subscription price for a specific group ID. Returns the base pricing for standard monthly billing.

Authentication:Bearer Token
Required scopes:useradmin

Request Parameters

groupIdInt!Required

The ID of the subscription group to get pricing for.


GraphQL Query

query getPackagePrice($groupId: Int!) {
  getPackagePrice(groupId: $groupId) {
    groupId
    price
    currency
    duration
  }
}

Variables:

{
  "groupId": 100
}

HTTP Request:

curl -X POST https://api.orbnet.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -d '{
    "query": "query getPackagePrice($groupId: Int!) { getPackagePrice(groupId: $groupId) { groupId price currency } }",
    "variables": {
      "groupId": 100
    }
  }'

Response

200Price Retrieved Successfully
{
  "data": {
    "getPackagePrice": {
      "groupId": "100",
      "price": 9.99,
      "currency": "USD",
      "duration": 30
    }
  }
}
400Group Not Found
{
  "errors": [
    {
      "message": "Group with ID 100 not found",
      "path": ["getPackagePrice"],
      "extensions": {
        "code": "NOT_FOUND"
      }
    }
  ],
  "data": null
}

Duration Options

1 Month

Standard monthly billing (this endpoint).

3 Months

Quarterly discount available.

6-12 Months

Semi-annual and annual plans.

Lifetime

One-time payment option.



Currency

Prices are returned in the default currency configured for your platform. Contact admin to change currency settings.

Looking for Discounted Rates?

Check longer duration packages for better per-month pricing.

View Annual Pricing