---
schema_version: "1"
id: 59c1affc5afd7ff5cd860e32a5aae4b55ed1846c7aae462fc15a8af8d94c9c79
title: Get Accurate Allocation Amounts with a Null Allocation Payload
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_b2c_get_accurate_allocatin_amounts.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_b2c_get_accurate_allocatin_amounts.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bed88d1711095d00cadc2d2af945eeaa30fd21cd5d561cada4887a8ee2bb17d3
description: PATCH and PUT /product_inventory_records/{product_id} now supports a null allocation payload while keeping accurate account of product allocation amounts and allocation reset date. Previously, sending a Patch or Put call to set a custom inventory record attribute using a null allocation payload resulted in an invalid reset date.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Get Accurate Allocation Amounts with a Null Allocation Payload

`PATCH and PUT /product_inventory_records/{product_id}` now supports a null allocation payload while keeping accurate account of product allocation amounts and allocation reset date. Previously, sending a Patch or Put call to set a custom inventory record attribute using a null `allocation` payload resulted in an invalid reset date.