Questions tagged [customapi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Magento 2 : Update tables on custom rest API calls

API URL : http://website.local.com/rest/V1/rma/rma/:100000008 Method : PUT Request : { "rma": { "status":"approved", "reply": "Your Package will ...
Krina's user avatar
  • 1
0 votes
0 answers
116 views

Add to cart is slow. After a bunch of products added to cart

I have create an custom api to add product into cart which is working fine. FYI: I am using Amasty_rule plugin which have 11 active rules. Magento version 2.4.3 Here is the code which I am using to ...
Chander Shekhar's user avatar
1 vote
1 answer
926 views

Magento 2 graphql get list of available shipping methods

I Could not find if there is or there isn't a query to get list of shippings methods available via graphql. ref: https://devdocs.magento.com/guides/v2.4/graphql/ Is there a query available?
Juliano Vargas's user avatar
0 votes
1 answer
178 views

how to create customer using custom rest api Magento 2.4.4

I have to create custom rest api for create customer programmatically in Magento-2.4.4. so anyone have an idea then share with me.
Deep Shah's user avatar
  • 541
1 vote
2 answers
2k views

How to get CUSTOM REST API Response in JSON FORMAT in MAGENTO2

Hello I have created one custom API Extension i got response in JSON but with some "Backslash" Below is my code: <?php namespace Vendor\NameSpace\Model; use Vendor\NameSpace\Api\...
Vardhman Kamani's user avatar
2 votes
1 answer
91 views

How to create a custom api for mobile app in magento 2.3

I want to create custom APIs for a mobile app tp cop up with my Magento 2.3 .x project. Like APIs for plugins installed like cc avenue, store locator plugin.
manoj bisht's user avatar
0 votes
0 answers
39 views

Customize request and response of order REST API

Guest order placement request - URL - V1/guest-carts/:cartId/order Body - { "paymentMethod": { "method":"testpayment_gateway", "customField":"CustomFieldValue" // **This is not product ...
Aniruddha A Deshpande's user avatar
1 vote
1 answer
203 views

Magento 2 - Custom API to get layered navigation

In magento 2.2.5 Enterprise edition I am trying to get layered navigation using custom API. I got solution form here: https://magento.stackexchange.com/a/262086/31910 my code is this: Please ignore ...
Shoaib Munir's user avatar
  • 9,203