Rate this page:
This example query will return pricing information for Statuspage as well as the pricing information for the related apps.
More on the offering details query and response
1 2query FetchCloudOfferingDetails { partner { offeringDetails( where: { cloudProduct: { id: "0b8ea1e2-52df-11ea-8d77-2e728ce88125" # Statuspage } } ) { cloudApps { billingType hostingType id level name parent pricingType sku supportedBillingSystems } cloudProducts { chargeElements id name offerings { billingType hostingType id level name parent pricingPlans { currency description items { chargeElement chargeType cycle { count interval name } tiers { amount ceiling flatAmount floor policy unitAmount } tiersMode } id sku primaryCycle { count interval name } type } pricingType sku supportedBillingSystems } uncollectibleAction { destination { offeringKey } type } } } } }
1 2curl --location 'https://api.atlassian.com/graphql' \ --header 'Authorization: Basic <encrypted_credencials>;' \ --header 'Content-Type: application/json' \ --data '{"query":"query FetchCloudOfferingDetails {\n partner {\n offeringDetails(\n where: {\n cloudProduct: {\n id: \"0b8ea1e2-52df-11ea-8d77-2e728ce88125\" # Statuspage\n }\n }\n ) {\n cloudApps {\n billingType\n hostingType\n id\n level\n name\n parent\n pricingType\n sku\n supportedBillingSystems\n }\n cloudProducts {\n chargeElements\n id\n name\n offerings {\n billingType\n hostingType\n id\n level\n name\n parent\n pricingPlans {\n currency\n description\n items {\n chargeElement\n chargeType\n cycle {\n count\n interval\n name\n }\n tiers {\n amount\n ceiling\n flatAmount\n floor\n policy\n unitAmount\n }\n tiersMode\n }\n id\n sku\n primaryCycle {\n count\n interval\n name\n }\n type\n }\n pricingType\n sku\n supportedBillingSystems\n }\n uncollectibleAction {\n destination {\n offeringKey\n }\n type\n }\n }\n }\n }\n}","variables":{}}'
Rate this page: