Bugfix: New Currency Validation for Line Items API
To ensure that the quality of data in the customer's CRM is high and that data is useful for automation, quotes, and reporting, we are preventing invalid currency values for line items. For example, a text string like "zzz" will not be supported within the default currency field for the "price" property. This was previously implemented in the HubSpot UI but not the API. With this change, the API will now throw an error for invalid currency formatting.
If inputting an invalid field type for the currency value, you will receive a 400
error response such as:
You also must ensure the currency value is configured for the portal; otherwise, you will also receive a 400
error response returned such as:
This change ensures proper currency value formatting to report line items, deals, and quotes accurately.
Do you have any questions or comments? Join us in the developer forums.