Available in: Lightning Experience and Salesforce Classic
Available in: Enterprise Edition, Unlimited Edition, Developer Edition, Performance Edition and Profession Edition (with API enabled)
Permissions needed: API Enabled in user profile Edit Permission on Price Books
Question: How to update prices for products that might be in one price book or multiple price books.
To update prices, you need the PriceBookEntry Salesforce ID. The only way you can get that is by exporting the ID using Data Loader or another 3rd party tool such as Workbench or DataLoader.io. The following walkthrough shows you how to obtain the Salesforce ID and update the product prices.
Note:
This tutorial will download all Price Book Entries. If you would like to filter the Price Book Entries based on specific products, you can use a selective query in the query editor box by adding the WHERE condition expression and then the product id values that we want to filter on. In the example below, we want to only export Price Book Entries for Products that have the ID 01t1I000000CqeK or 01t1I000000CqeL. You can find the Product ID by viewing the desired product in Salesforce and then copying the value from the URL located in the browser's address bar. Example URL: https://na73.salesforce.com/01t1I000000CqeL, the product ID is listed after the .com/
Example SOQL query :
Select Id, Name, Pricebook2Id, Product2Id, UnitPrice, IsActive, UseStandardPrice, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp, ProductCode, IsDeleted FROM PricebookEntry WHERE Product2Id='01t1I000000CqeK' OR Product2Id='01t1I000000CqeL'
If suggestions have been followed there will be a file called pricebookentry.csv on your desktop.
Prices should now be updated.
Define standard or unit price for new Product via API
Add new product prices in Price Books with Data Loader
000384199

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.