createOrUpdatePriceBook
Creates new price book or updates existing price book
This page contains
Arguments
input CreateOrUpdatePriceBookInput! | Input for creating or updating price book |
CreateOrUpdatePriceBookInput fields
id ID | Unique identifier of price book |
author String! | Name of the user who is creating/updating the price book |
priceBookAction PriceBookAction! | Action enum for price book |
priceBookInput CreateOrUpdatePriceBookMetaDataInput | Input to create or update price book metadata |
priceBookConditionInput CreateOrUpdatePriceBookConditionInput | Input to create or update price book condition |
priceBookEntriesInput [CreateOrUpdatePriceBookEntryInput] | Input to create or update price book entry |
Return Fields
priceBook PriceBook | Newly created or updated price book |
userErrors [CreateOrUpdatePriceBookError!] | Error details while creating or updating price book |
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.