Question

Import Sales Pricing via REST API


I am trying to update Sales Price pricing via the REST API. There is no endpoint that I could see that will do this (there is the SalesPriceInquiry) – which seems to create the price if it does not exist, but it does not update. Is there a way to get it to update the price?

I’m sending:
 

SalesPriceDetails": [
{
"EffectiveDate": { "value": "05/02/2024"},
"PriceType": { "value": "Customer" },
"PriceCode": { "value": "1000346" },
"Price": { "value": "12.99" },
"InventoryID": { "value": "OURSKU" },
"Warehouse": { "value": "CA" }
}
]

But, I am getting the error:
"error": "Duplicate Sales Price. This line overlaps with another Sales Price (Price: 10.990000, Effective Date: 5/2/2024, Expiration Date: )",

Is there a way to tell it to update if the price exists?


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved