Questions tagged [customapi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
62 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\...
2
votes
1answer
35 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.
0
votes
0answers
65 views

REST API Get products info based on name Magento 1.9

I have created a custom module but unable to get products based on categories name, If I pass a single name it is working. app/etc/modules/Custom_Restapi.xml <?xml version="1.0"?> <config&...
0
votes
0answers
28 views

magento 2.3 extend rest api to put stock item by id

This is the request to update the stock item of a product: https://www.example.com/rest/V1/products/{sku}/stockItems/{itemid} I am having problem with complex sku with special chars, so I do not ...
0
votes
0answers
27 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 ...
1
vote
1answer
63 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 and http://www.sivaschenko.com/...