-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Issue: ready for confirmationReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.
Description
Preconditions and environment
Preconditons
Magento version: 2.4.x
Problem
When creating an order via the V1/orders/create API endpoint, the salable quantity of the products are not being updated. Shipping and invoicing does not help either.
I know that I can create orders via the guest cart API, but that has some limitations, and I have to use the Admin API for my integration.
Am I missing something or this is an issue and the salable quantity does not update when using the Admin API to create orders?
Steps to reproduce
- Create an order via the API endpoint V1/orders/create
- Check the salable quantity of the ordered products
- (Optional) Ship and/or invoice the order
Expected result
Salable quantity should update the same way as it does when the order is created via the guest cart API.
Actual result
No error message, but the salable quantity of the products are not being updated. Interesting thing is that the source quantity updates.
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Issue: ready for confirmationReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.
Type
Projects
Status
Ready for Confirmation