Available in: Lightning Experience and Salesforce Classic
Available in: Enterprise Edition, Unlimited Edition, Developer Edition, Performance Edition, and Professional Edition (with API enabled)
Permissions needed: API Enabled in the user profile and Edit permission on Price Books
Question: How do I update prices for Salesforce products that are in one price book or in multiple price books?
This article explains how to update Salesforce Product prices in one or more price books. You export the Price Book Entry records with Data Loader, change the Unit Price values in the CSV file, and import the file back as an update.
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 third-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 downloads 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 you want to filter on. In the example below, only Price Book Entries for Products that have the ID 01t1I000000CqeK or 01t1I000000CqeL are exported. 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. In the 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'
This query selects the Price Book Entry fields for the two listed products only.
If you followed the suggestions, a file called pricebookentry.csv is on your desktop.
The product prices are now updated.
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.