createOrUpdatePriceBookVersion

Creates price book version by price book Id or updates price book version by its Id

This page contains

    Authorization Rules

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

    Scopes

    ROLE_CHANNEL_ADMIN

    ROLE_PARTNER

    Arguments

    input CreateOrUpdatePriceBookVersionInput!

    Input for creating or updating price book version

    CreateOrUpdatePriceBookVersionInput fields

    id ID

    Unique identifier of the price book version

    priceBookId String!

    Unique identifier of the price book

    author String!

    Name of the user who is creating/updating the price book version

    versionedDate DateTime

    Versioned date of the price book

    priceBookEntriesVersion [UpdatePriceBookEntryVersionInput!]

    Input to update price book entries version

    Return Fields

    priceBookVersion PriceBookVersionDetails

    Newly created or updated price book version

    userErrors [CreateOrUpdatePriceBookVersionError!]

    Error details while creating or updating price book version

    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.