magento2.1

Recently DELETE and PUT API of default magento 2 was not working, are these the permission issue?

我的梦境 提交于 2021-01-29 11:29:05
问题 I call API through Postman. API - PUT rest/V1/customers/144 was not working , It was successfully work on my Local but not on test environment, After some time I came to know that all PUT and DELETE APIs are not working. Ii displays Error 404:Not found. <!doctype html><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>Error 404: Not Found</title> <base href="http://shoppingtest.eduqfix.com/pub/errors/default/" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Creating shipment does not update items shipped quantity and order is not complete

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-07 10:15:54
问题 I'm developing a procedure that has to programatically create shipment for orders that are already paid and invoiced. The problem is that even after creating the shipment, the order status remains to 'processing' instead of going to 'complete'. This does not happen if I manually Ship from the backend. I found that the problem is that the quantity shipped for the order items is not updated, but remains 0 after saving the shipment and the order. This is the procedure i'm using. No exception is