---
schema_version: "1"
id: 3f76a6de262392584f5bdaa0bcbfc973a94ec010a97d7bee30435f88a3ad60d5
title: OCAPI
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_20_8_ocapi.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_20_8_ocapi.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 91026ce4686fa56e2087f281df419c16632559e7e473856afa6e5686bee06508
description: Review the new B2C Commerce OCAPI updates in the B2C Commerce 20.8 release. The current OCAPI version is now 20.8.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# OCAPI

Review the new B2C Commerce OCAPI updates in the B2C Commerce 20.8 release. The current OCAPI version is now 20.8.

- **[Improve Performance with the parentCategoryTree Element](https://help.salesforce.com/s/articleView?id=commerce.b2c_20_8_w7758054_ocapi_parent_category_tree_je.htm&release=264.0.0&type=5)**  
    The get category API now has the parentCategoryTree element. The element returns the entire parent category tree. With the parentCategoryTree element, you can improve performance by retrieving the category tree path on the breadcrumb instead of making recursive calls to get the tree.
- **[Work with Per-Unit Product Pricing](https://help.salesforce.com/s/articleView?id=commerce.b2c_20_8_w7757456_ocapi_price_per_unit_as.htm&release=264.0.0&type=5)**  
    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.