Apply discount to Quote / Order through API

bensjibensji Member Posts: 3

According to the documentation, if I do a PUT request to either endpoints, it should update the order / quote. But apparently there are limitations to this?

I can indeed (like showed in the docs) update the comment or other trivial data, but isn't it possible to apply a discount(code) through the API?

Or should I use a combination of fields? 

If I do this:

https://{{api_key}}:{{api_secret}}@{{cluster}}/nl/quotes/401996873.jsonPUT to 
    "quote": {
		"discountId": 42038933

I get returned the object, but the discount hasn't been applied.

Thanks for the information!


Sign In or Register to comment.