2

call the items in the loop and load quote object and set quantity or another field. sample code public function updateItems($cartId, $cartItem) { $result = $this->dataObjectFactory->create(); $quote = $this->quoteRepository->getActive($cartId); foreach ($cartItem as $itemValue) { $item = $this->quoteItemFactory->...


1

Magento 2 get does not have any concept like Get the Area/City name from the state/region id`. In Magento 2 system, there is only one type of relationship that **State changes using country. So, you can NOT get City from Region Id/State id.


1

I have looked into your issue this morning and I have come up with a work around it. I understand you want to use the Magento translated message in your system that consumes Magento API. I guess your concerns are not to duplicate the existing translation and instead enhance a unified system.. The translation don't seem to be built-in with the API layer in ...


1

I have created custom contact us API. This is a helpful for submit contact us form via rest API and send an email. API Name: Contact Us API Description: Submit a contact us form to send an email. API URL: http://127.0.0.1/magento2/rest/V1/contactus?contactForm[name]=Kirti&contactForm[email]=kirtinariya80@gmail.com&contactForm[telephone]=...


Only top voted, non community-wiki answers of a minimum length are eligible