---
schema_version: "1"
id: fcd99fbaffc8905d3cbc06f3fe2a943ec896b239803a7d67b0a4e1c0fe4ec751
title: Work with Per-Unit Product Pricing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_20_8_w7757456_ocapi_price_per_unit_as.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_20_8_w7757456_ocapi_price_per_unit_as.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a6b037c3130e3faf8048dcc518f00283d5b94fc041757d936dae8b80f2ce6c06
description: Several OCAPI documents now include properties related to per-unit product pricing. The Data API and Shop API products and product_search resources consume and return these documents.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Work with Per-Unit Product Pricing

Several OCAPI documents now include properties related to per-unit product pricing. The Data API and Shop API `products` and `product_search` resources consume and return these documents.

Why: Grocery customers require this functionality to easily present per-unit pricing to their shoppers.

How: We added these fields:

- price\_per\_unit—The price of one unit. For example: If a product is 2 pounds of celery, its unit is 1 pound, and its price is $1.50, then its price\_per\_unit is $0.75.
    
    For a parent product, such as a variation master or set, this value is the lowest price\_per\_unit among its child products.
- price\_per\_unit\_max—For a parent product, such as a variation master or set, this value is the highest price\_per\_unit among its child products.
- unit\_measure—For products sold by a measurement such as weight or volume, the amount included in one unit. For example: 1 pound of celery or 32 ounces of soup.
- unit\_quantity—For products sold by quantity, the quantity included in one unit. For example: one bell pepper or three ears of corn.

For detailed information about which documents include these fields, see the [OCAPI 20.8 Changes since 20.4 topic](https://documentation.b2c.commercecloud.salesforce.com/DOC3/topic/com.demandware.dochelp/OCAPI/current/v20_8_diff_since_v20_4.html) in the Infocenter.