Skip to main content
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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings