New answers tagged

0 votes

calling custom api in another custom api in Magento 2

You can use curl or zend_client to call custom API from another API. Note: This method is not recommended. Curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); ...
user avatar
0 votes

Automating Invoicing in Magento 1

To auto invoice an order try: public function fullPaymentReceivedAutoInvoice($order){ $invoice = $order->prepareInvoice(); if($invoice->getTotalQty()){ $invoice->...
user avatar
0 votes

API stopped working with 2fa since 2.4 upgrade

The 2FA module did add the ability to authenticate to the API using 2FA. First I would suggest logging into Magento using the account you want to use for the API via the admin so you can configure the ...
user avatar
  • 420
0 votes

How get wishlist in Magento 2 Rest API?

Im facing error "message": "The current request does not expect the next parameters: customerId",
user avatar
0 votes
Accepted

Magento 2.3 Disallow Post to /V1/Customers

In /vendor/magento/module-customer/etc/webapi.xml, change the CreateAccount method from "anonymous" to "self" Save the file and then clear the cache.
user avatar
0 votes

Payment API for mobile App

A payment API (application programming interface) helps ecommerce grocery app enterprises to manage payments in a seamless manner. Payment APIs have the potential to improve the payment process for ...
user avatar

Top 50 recent answers are included