Magento 2.4.6 Custom API end point add to users basket Invalid state change requested
I have created a custom API endpoint for adding products to a specific customers cart. When running it through postman I get this error: Invalid state change requested This is my code: declare(strict_types=1); namespace SulmanTransferBasketModel; use MagentoCatalogModelProductFactory; use MagentoCustomerModelSession; use… Read More »Magento 2.4.6 Custom API end point add to users basket Invalid state change requested