Preview

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

createCustomPriceDefinition

Mutation for price definition creation from migration

This page contains

    Authorization Rules

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

    Scopes

    pricing.migration.pricedefinition.write.instance

    Arguments

    input CreateCustomPriceDefinitionInput! PREVIEW

    Attributes to create a price definition from migration

    CreateCustomPriceDefinitionInput fields

    externalId String!

    External identifier for the price definition

    editionPricingUuid String!

    Edition pricing UUID

    currency String!

    Pricing currency

    pricingDetails [PricingDetailInput!] PREVIEW

    Pricing details for different units

    Return Fields

    id ID

    Created price definition ID

    userErrors [CreateCustomPriceDefinitionError!] PREVIEW

    List of user errors that occurred during creation

    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.