---
schema_version: "1"
id: b73bce05e5e8fecddfdb32d4cec6602c78402a6906300fffb623c676ad503e85
title: ProductQuantityRule
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_productquantityrule.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_productquantityrule.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c25ed566a07303e29eaa6a28c4a4b00c00452302382e43754a454673efc2e2cc
description: Represents the relationship between a quantity rule and a product. This object assigns quantity rules to a product. This object is available in API version 51.0 and later.
---
# ProductQuantityRule

Represents the relationship between a quantity rule and a product. This object assigns quantity rules to a product. This object is available in API version 51.0 and later.

## Supported Calls

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

## Special Access Rules

The ProductQuantityRule object is available only if the B2B Commerce license or Automotive Cloud license is enabled.

## Fields

| Field | Details |
| --- | --- |
| CurrencyIsoCode | 
Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The ISO code for the currency that’s specified on the buyer’s account. This field is exposed in orgs that have multicurrency enabled. Default value is USD.

Possible values are:

- EUR—Euro
- USD—U.S. Dollar





 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the product quantity rule.



 |
| ProductId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the product.

This field is a relationship field.

Relationship Name

Product

Relationship Type

Lookup

Refers To

Product2



 |
| PurchaseQuantityRuleId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the related purchase quantity rule.

This field is a relationship field.

Relationship Name

PurchaseQuantityRule

Relationship Type

Lookup

Refers To

PurchaseQuantityRule



 |