Preview

createPriceDefinition is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

createPriceDefinition

Create price definition

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    ROLE_CHANNEL_ADMIN

    Arguments

    input CreatePriceDefinitionInput! PREVIEW

    Attributes to create a price definition

    CreatePriceDefinitionInput fields

    parentPriceDefinitionId ID

    Parent price definition id

    productId ID!

    Unique identifier of an application

    editionId ID!

    Unique identifier of an edition

    pricingPlanId ID!

    Unique identifier of an pricing plan

    type PriceDefinitionType! PREVIEW

    Price definition type

    items [PriceDefinitionItemInput!] PREVIEW

    Price definition items defining the prices for different cost types

    externalReferences [ExternalReferenceInput!] PREVIEW

    External references for price definition

    Return Fields

    priceDefinition PriceDefinition PREVIEW

    Created price definition details

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.