masbovi Posted July 6, 2019 Share Posted July 6, 2019 hello, on PS 1.7.2.4 I can get an order detail with /api/orders/1799; after that I copy all the xml result to the body of a PUT request to the same url to update the value of shipping_number but I cannot update and I receibe a 500 error: Fatal error: Uncaught PrestaShopException: La proprietà Order->id_address_delivery non è valida in /var/www/html/sangiorgio/classes/ObjectModel.php:944 Stack trace: #0 /var/www/html/sangiorgio/classes/ObjectModel.php(272): ObjectModelCore->validateFields() #1 /var/www/html/sangiorgio/classes/order/Order.php(307): ObjectModelCore->getFields() #2 /var/www/html/sangiorgio/classes/ObjectModel.php(683): OrderCore->getFields() #3 /var/www/html/sangiorgio/classes/order/OrderHistory.php(363): ObjectModelCore->update() #4 /var/www/html/sangiorgio/classes/order/Order.php(1609): OrderHistoryCore->changeIdOrderState(4, Object(Order)) #5 /var/www/html/sangiorgio/classes/order/Order.php(2293): OrderCore->setCurrentState('\n 4\n...') #6 /var/www/html/sangiorgio/classes/webservice/WebserviceRequest.php(1439): OrderCore->setWsCurrentState('\n 4\n...') #7 /var/www/html/sangiorgio/classes/webservice/WebserviceRequest.php(1309): WebserviceRequestCore->saveEntityFromXml(200) #8 /var/www/html/sangiorgio/classes/webservi in /var/www/html/sangiorgio/classes/ObjectModel.php on line 944 how can I solve? thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now