Seat-based pricing is one pricing method available for marketplace apps. In this method, users purchase an app subscription based on the size of their monday account.
When users make a purchase, our UI will intutitively recommend an app plan based on their monday account size. Seats fluctuate over time, so developers must monitor account size to ensure compliance using the apps_monetization_info
API.
Queries
Required scope: accounts:read
Querying apps_monetization_info
will return metadata about an account's app monetization information. This method does not accept any arguments and returns an integer.
You can only query apps_monetization_info
directly at the root, so it can't be nested within another query.
query {
apps_monetization_info {
seats_count
}
}
let query = "query { apps_monetization_info { seats_count } }";
fetch ("https://api.monday.com/v2", {
method: 'post',
headers: {
'Content-Type': 'application/json',
'Authorization' : 'YOUR_API_KEY_HERE'
},
body: JSON.stringify({
query : query
})
})
.then(res => res.json())
.then(res => console.log(JSON.stringify(res, null, 2)));
Fields
You can use the following field(s) to specify what information your apps_monetization_info
query will return.
Field | Description |
---|---|
seats_count Int | The number of seats in an account across all products. |
Join our developer community!
We've created a community specifically for our devs where you can search through previous topics to find solutions, ask new questions, hear about new features and updates, and learn tips and tricks from other devs. Come join in on the fun! 😎