Query
query PlanSubscriptionsCount($input: SubscribedCustomersCountInput!) {
planSubscriptionsCount(input: $input) {
count
updatedAt
}
}Variables
{
"input": {
"environmentId": "string",
"packageRefId": "string"
}
}Response
{
"data": {
"planSubscriptionsCount": {
"count": 1,
"updatedAt": "value"
}
}
}Queries
planSubscriptionsCount
Get the count of subscriptions for a plan
QUERY
planSubscriptionsCount(input: SubscribedCustomersCountInput!): SubscribedCustomersCountResult!Arguments
input
required
Get Subscribed Customers Count Input
Returns
count
Int!
The count of subscribed customers
updatedAt
DateTime!
The timestamp of the last update
Query
query PlanSubscriptionsCount($input: SubscribedCustomersCountInput!) {
planSubscriptionsCount(input: $input) {
count
updatedAt
}
}Variables
{
"input": {
"environmentId": "string",
"packageRefId": "string"
}
}Response
{
"data": {
"planSubscriptionsCount": {
"count": 1,
"updatedAt": "value"
}
}
}