deactivatePriceBook
Deactivate a price book
This page contains
Arguments
input DeactivatePriceBookInput! | Attributes to deactivate a price book |
DeactivatePriceBookInput fields
id ID! | Unique identifier of price book |
modifiedBy String! | Email id of user inactivating the price book |
Return Fields
priceBook PriceBook | Inactivated price book |
userErrors [DeactivatePriceBookError!] | Error details while inactivating 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.
xxxxxxxxxx
mutation deactivatePriceBook($input: DeactivatePriceBookInput!) {
deactivatePriceBook(input: $input) {
priceBook {
id
name
description
}
userErrors
}
}
xxxxxxxxxx
{
"input": {
"id": 34827,
"modifiedBy": "YOUR_MODIFIED_BY"
}
}