Preview

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

createPreviousQuantityRanges

Create previous quantity ranges

This page contains

    Authorization Rules

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

    Scopes

    billing.pricing.previousquantityrange.write.instance

    Arguments

    input CreatePreviousQuantityRangesInput! PREVIEW

    Input for creating previous quantity ranges

    CreatePreviousQuantityRangesInput fields

    activePriceDefinitionId ID!

    Active price definition ID

    unitRanges [QuantityRangesByUnitInput!]! PREVIEW

    Map of unit type to list of quantity ranges

    metadata [MetadataEntryInput!] PREVIEW

    Metadata information for the previous quantity ranges

    Return Fields

    previousQuantityRanges PreviousQuantityRanges PREVIEW

    Created previous quantity ranges

    userErrors [CreatePreviousQuantityRangesError!] PREVIEW

    Error details while creating previous quantity ranges

    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.