Magento 2 API-创建发货但不更新订单状态
我正在使用magento2api调用创建装运(/V1/shipping) 货件在magento中成功创建,但订单状态没有像我预期的那样移动到完成状态 我的JSON请求如下:Magento 2 API-创建发货但不更新订单状态,magento,magento2,Magento,Magento2,我正在使用magento2api调用创建装运(/V1/shipping) 货件在magento中成功创建,但订单状态没有像我预期的那样移动到完成状态 我的JSON请求如下: { "entity": { "billingAddressId": 4, "comments": [], "items": [ { "orderItemId": 2, "qty":
{
"entity": {
"billingAddressId": 4,
"comments": [],
"items": [
{
"orderItemId": 2,
"qty": 2
}
],
"orderId": 2,
"shippingAddressId": 3,
"totalQty": 2,
"tracks": []
}
}
谢谢这似乎已经是Magento中的一个已知错误,因为装运时在Magento 2中创建将订单状态更新为处理。因此,如果将状态设置为“已完成”,则无论何时通过API创建发货,它都会将订单状态更改为“已完成”