Skip to main content
MUTATION
createOneAddon(input: AddonCreateInput!): Addon!

Arguments

input

Input for creating an addon

Returns

additionalMetaData
JSON

The additional meta data of the package

billingId
String

The unique identifier for the entity in the billing provider

billingLinkUrl
String

The billing link url of the package

createdAt
DateTime

Timestamp of when the record was created

dependencies

List of addons the addon is dependant on

description
String

The description of the package

displayName
String!

The display name of the package

Draft details for the addon

Draft summary for the addon

entitlements
deprecated

List of entitlements for the addon

Use 'packageEntitlements' field instead
environment
environmentId
UUID!

The unique identifier for the environment

hasSubscriptions
Boolean!

Indicates if the addon has subscriptions

hiddenFromWidgets

List of hidden widgets of the package

id
UUID!

Unique identifier for the entity

isLatest
Boolean

Indicates if the package is the latest version

maxQuantity
Float

The maximum quantity of this addon that can be added to a subscription. Leave unset for no upper bound.

offer
overageBillingPeriod

The overage billing period of the package

overagePrices
deprecated

List of overage prices of the package

Overages are now modeled as usage-based prices (Price with isOverage = true). They are excluded from `prices` and reported here, unioned with any legacy overage prices. This field is retained for backward compatibility.
packageEntitlements

List of entitlements for the addon

prices
Arguments
filter
default:{}

Specify to filter the records returned.

sorting
default:[{direction: DESC, field: createdAt}]

Specify to sort results.

pricingType

The pricing type of the package

product
productId
String

The product id of the package

refId
String!

The unique identifier for the entity

The status of the package

syncStates

List of sync states for the addon

type
String!

The type of the package

updatedAt
DateTime

Timestamp of when the record was last updated

versionNumber
Int!

The version number of the package

Mutation
Variables
Response