I am trying to update the quantity of products using the rest api call: {HostUrl}/rest/default/V1/inventory/source-items with the below data:
{
"sourceItems": [
{
"sku": "EXAMPLE_SKU",
"quantity": 4,
"status": 1
}
]
}
However, this is returning a 404 response saying that the route cannot be found. The route appears to be correct according to the Magento 2.4 static api documentation.
Other routes such as {HostUrl}/rest/V1/store/storeViews work without a problem and the permissions for modifying products/inventory have been given, so I'm at a dead end to understanding why this isn't working.
Any solution or advice will be massively appreciated :)