Marketplace app discounts
Queries
You can use the marketplace_app_discounts query to retrieve an app’s marketplace discount data via the API.
- Only works for app collaborators
- Returns an array containing metadata about a specific app discount
- Can only be queried directly at the root; can’t be nested within another query
Arguments
You can use the following argument to reduce the number of results returned in your marketplace_app_discounts query.
Fields
You can use the following fields to specify what information your marketplace_app_discounts query will return.
Mutations
The API allows you to grant and delete discounts using the following mutations.
Grant marketplace app discount
The grant_marketplace_app_discount mutation grants a discount for a new marketplace app subscription via the API. You can specify which fields to return in the mutation response.
Arguments
You can use the following arguments to specify which discount to grant.
Delete marketplace app discount
The delete_marketplace_app_discount mutation deletes an existing discount for a marketplace app subscription via the API. You can specify which fields to return in the mutation response.
Arguments
You can use the following arguments to specify which discount to delete.