Create Price Book
sf_create_price_bookCreate a Salesforce price book to define product pricing, optionally adding products with unit prices for different customer segments or regions.
Instructions
Creates a Pricebook2 record and optionally adds products with pricing via PricebookEntry records. Price books define the prices for your products. Each org has one standard price book; additional custom price books can be used for different customer segments or regions.
name: price book name isActive: whether the price book is active isStandard: true only for the standard price book currencyIsoCode: ISO currency code (e.g. 'USD') products: optional array of {productId, unitPrice, useStandardPrice?} to add to the price book
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Price book name | |
| isActive | No | Whether the price book is active | |
| products | No | Products to add to this price book | |
| isStandard | No | Whether this is the standard price book | |
| description | No | Description | |
| currencyIsoCode | No | Currency ISO code, e.g. 'USD' |