-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Area: APIsComponent: StockIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.3.0Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
- Magento version -> 2.3.0
- here is the api details
curl --location 'http://php72.webgility.com/magento230_test/rest/V1/inventory/source-items'
--header 'Authorization: Bearer mbngyhiyvqpbaqq2b1d87onkf686nojp'
--header 'Content-Type: application/json'
--header 'Cookie: PHPSESSID=k60cb85fp23no9aeuqef9v10bd'
--data '{
"sourceItems": [
{
"sku": "dgdfgdxfgdfgd",
"source_code": "default",
"quantity": 0,
"status": 1
}
]
}
Also, the SKU used in the above request is not added to the store.
Steps to reproduce
• enter the data in the request body
• send incorrect SKU
Observe that API is giving 200 status code even the SKU is not existing on the particular store.
Expected result
It should give the error message for the incorrect SKU.
Actual result
API is sending 200 status code .
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
Area: APIsComponent: StockIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.3.0Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Ready for Development
