Hi,
How can I update na existing order programatically via API?
As per https://docs.cs-cart...update-an-order
I submitted a JSON object like the one below to /orders/124 and the server returned 200 OK + valid JSON response. But the Shipping and Company attributes have not been updated. I ensured that the shipping of id 10 exists.
{
order_id: 124
shipping_id: "10",
company: "Some Company"
}
Also tried to remove the order_id or pass whole shipping object rather than just the ID, but none of this worked. Always got 200 OK, but the data has not changed.
What is the correct way of doing this?
Sorry for posting it to Documentation forum, but I don't have permission to submit to Developer's Corner.
thanks
Jiri