简体   繁体   English

我如何使用REST API取消客户的订单并在Magento2中重新订购

[英]How can i cancel an order of a customer and reorder in Magento2 using REST API

which end point should i use to cancel and reorder the user orders in magento 2. i tried like this. 我应该使用哪个端点来取消和重新订购magento 2中的用户订单。我试图这样做。 help me 帮我 在此处输入图片说明

Use POST methods for cancel order API. 对取消订单API使用POST方法。 GET methods does not exits that's why you are getting route error. GET方法不会退出,这就是您收到路由错误的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM