---
schema_version: "1"
id: d852b525e706d8fa43b7aabf013fd648dff830d8e55243c0552c2cfb584d5651
title: BuyerGroupPricebook
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_buyergrouppricebook.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_buyergrouppricebook.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c47ba9ee5b8f1fd5a6b58d4188f8303e0f7828cea930eeaef7705ebd932c638f
description: Represents a buyer group price book used in Lightning B2B Commerce. This object is available in API version 48.0 and later.
---
# BuyerGroupPricebook

Represents a buyer group price book used in Lightning B2B Commerce. This object is available in API version 48.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

The BuyerGroupPricebook object is available only if the B2B Commerce license is enabled.

## Fields

| Field | Details |
| --- | --- |
| BuyerGroupId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the buyer group that the price book record is assigned to.



 |
| IsActive | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Determines whether the BuyerGroupPricebook is active (true) or not (false). Default value is false.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the Buyer Group Price Book record.



 |
| Pricebook2Id | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the price book assigned to the buyer group.



 |
| Priority | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The sequential priority used to determine the price of a product. This field is only available for web stores that use the **Priority** pricing strategy.



 |

## Usage

Use the BuyerGroupPricebook object to assign a price book to a set of buyer users. Assigning a price book to a buyer group allows buyers within that buyer group to retrieve product prices from the price book. When a buyer has multiple price book assignments, including multiple prices for the same product, the store Pricing Strategy determines the price.