createPriceBookEntry

Assign pricing plan to price book

This page contains

    Authorization Rules

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

    Scopes

    ROLE_CHANNEL_ADMIN

    Arguments

    input CreatePriceBookEntryInput!

    Attributes to create a price book entry for a plan

    CreatePriceBookEntryInput fields

    priceBookId ID!

    Unique identifier of price book

    pricingPlanId ID!

    Unique identifier of pricing plan

    setupFee PriceBookEntryPriceInput

    Defines custom price for setup fee

    flatFee PriceBookEntryPriceInput

    Defines custom price for flat fee

    contractFee PriceBookEntryPriceInput

    Defines custom price for contract fee

    units [PriceBookEntryUnitPriceInput!]

    Defines custom price for various units in plan

    createdBy String!

    Email id of user setting custom prices for plan

    Return Fields

    priceBookEntry PriceBookEntry

    Price book entry details

    userErrors [CreatePriceBookEntryError!]

    Error details while creating price book entry

    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.