Open
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
Type
Projects
Status
Ready for Development