Questions tagged [api]

An application programming interface (API) specifies how some software components should interact with each other.

Filter by
Sorted by
Tagged with
1
vote
0answers
35 views

Can we implement Alexa Skill to use with our Amazon pay Account in magento 1

In Magento 1 websites, we want to implement Alexa Skills to use our amazon payment account. Can anybody please share knowledge/steps/guide, how we can implement alexa skill to use our amazon pay ...
3
votes
1answer
205 views

Magento 2 for logged In customer need to add shipping address every time i place a new order?

This is what i am following... 1. Add Configurable product in cart. http://magento-host/index.php/rest/default/V1/carts/mine/items method : POST Authorization : Bearer <customer token> body ...
3
votes
1answer
308 views

How to return search API response from controller in magento 2?

I have an API(ukvehicledata) for search using registration id. I want to integrate with magento 2.2 I am getting response in controller as JSON format. I have converted it into an array. Now I ...
2
votes
1answer
56 views

Magento cancel onhold orders

Is there any possibility to cancel the on hold orders magento1.9 soap API.
5
votes
1answer
935 views

How to capture the User ID using magento's customer Token?

How do I make a call to that URL that captures the User ID, using Magento customer Token in magento 2 rest API? How Magento 2 makes calls in-between for the APIs ?
7
votes
1answer
227 views

What are the use of ExtensionAttribute JoinProcessorInterface and CollectionProcessorInterface at magento 2.2.3

I built Magento 2 Module which has a model and Service contracts/API. During this implementation, I have followed vinai Kopp article and also magento2 module Magento_Quote. On this Magento\Quote\...
3
votes
1answer
622 views

Create POST API to update order custom fields using increment ID

I need to update order custom attributes from increment ID using a custom REST API. I receive this XML : <order> <data> <incrementId>000000007</incrementId> <...
3
votes
2answers
1k views

Magento2 REST API - Cannot create cart/quote for customer

I am building a shoppingcart using the Magento2 Rest API and I want to create a cart for a customer and (if not logged in) for a guest. For guest carts is it working: Create a guestcart: POST ...
1
vote
0answers
36 views

What is the M1.9 UPS Shipping Default Rate Table (out of the box, not XML)

We are doing some comparisons with our different options using M1.9 UPS shipping. We noticed that the rate for the default UPS setting for UPS Type (United Parcel Service) is returning values that are ...
1
vote
0answers
38 views

Product images in multiple stores using JSON API

I have four stores created, and I'm trying to upload a single image for the same product in each of the stores. My issue is that to get an image to show in the category front end view, I need to ...
0
votes
1answer
100 views

API with swagger in magento 1 or other tool

I am trying to find out way to create api for magento 1. can we use swagger for magento 1 or any other tools available for magento 1.9. Please give suggestion or need to create from scratch ?
2
votes
0answers
247 views

How to find Magento version using API (JSON specifically)

Using the JSON RestAPI, I need to do things slightly differently depending on the version of Magento due to as-yet un-fixed bugs (specifically https://github.com/magento/magento2/issues/18005). I can ...
1
vote
1answer
155 views

How to get List Layer Filters in magento 1?

I trying to get list layer filters option in Magento 1 in custom file name is list_layer_options.php. This is my source: $appliedFilters = Mage::getSingleton('catalog/layer')->getState()->...
2
votes
1answer
132 views

Add configure product in Cart using Magento 2 API facing an issue

Here's the url http://<magento host>/rest/default/V1/carts/mine/items Method POST Headers Authentication :: Bearer <customer token> Content-Type :: application/json Body json data ...
1
vote
0answers
68 views

MAGENTO - want to get delievery date from UPS

How can I get the delivery date from the UPS? Does anyone have any idea about this?
1
vote
0answers
115 views

How to debug dropped Authorize.net transactions in M2

We are seeing seemingly random drops in responses from Auth.net using Magento 2. With the debug log on, we saw a customer place 2 orders, the first has no response, and the 2nd, placed half an hour ...
2
votes
0answers
120 views

Magento2 Rest Api to Delete an item after place order

Can anyone help me how to remove an item from an order after order completion using resti api in magento2 Thanks
1
vote
0answers
91 views

How to fetch eligible Payment and Shipping method in REST API magento 2?

Fetch eligible shipping methods and Payment methods in Magento 2 Rest API. In case of if i have a customer id. In case of if it is a guest user.
4
votes
0answers
87 views

Magento 2 Category list API with layered navigation

Is there any API we can get category product listing with Layered Navigation. I want to use in Mobile Application. Thanks,
1
vote
1answer
596 views

Magento 2.2: (API) set UserContext user type to customer during token creation

I've been struggling with the following scenario: i have a custom API endpoint to process the guest to customer login. This endpoint basically does the same thing as /integration/customer/token with ...
2
votes
1answer
410 views

Magento 2 : How to programmatically create and display bearer token on admin screen?

Is it possible to create and display a bearer token in my custom admin setting screen for my plugin?. In short, I want to be able allow customer to install my plugin, copy a Bearer Token from the a ...
1
vote
0answers
27 views

How to read Customer from Magento to .Net app

I have installed magento 2 in my local system, my requirement is to read customer from Magento to one .NET application. Please suggest me how do I proceed to achieve the same. Thanks Gautam
2
votes
0answers
26 views

Connect Customers With Recurring Profiles to MailChimp

Site Info: Meal prep company, running a site on Magento 1.9.3, the site was developed by a company in India, I work with these guys on some other projects as I'm not really familiar with Magento, but ...
1
vote
0answers
27 views

Get Canceled Orders with specified range using magento soap api

Can anyone help me how to get the Canceled orders of specified range in magento1.9 soap api. Iam getting the orders but time exausting so i wants to get the orders between range. Find the below code ...
1
vote
1answer
106 views

Magento2 : Getting error while updating the data using API

I am getting the following error while updating the record using the Magento 2 REST API. Error: ( [message] => Request does not match any route. [trace] => ) I am ...
3
votes
2answers
278 views

Magento2: Module Vault rest api help

I have created a webapi.xml in module vault: <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd"&...
2
votes
0answers
46 views

Magento 2 : Rest APi Management payment methods

I need a solution to manage payment methods. Ex. Credit cards. in the web version we have the option to list the cards already used in purchases. (html: // vault / cards / listaction /).   Is it ...
0
votes
1answer
25 views

Magento soap api to get the updated oders

Can anyone help me how to fetch the updated orders in magento1.9 using soap api. Thanks
1
vote
0answers
257 views

WebAPI gives error: Class “array” does not exist

I want to send a list of statuses to my API. I send an array because it may be a lot of statuses. So my JSON looks like: { "statuses":[ "status_ok", "status_failed", "...
2
votes
1answer
132 views

event sales_order_invoice_save_commit_after is not being dispatch over REST API

May I know how can I dispatch event sales_order_invoice_save_commit_after when I create invoice via REST api? I noticed there are quite a number of extensions is observing this particular event but ...
1
vote
0answers
20 views

Magento 2.2.5 shows webserver ip in sales

When I see at a sale - customer IP, it shows my web server IP in all the costumers ip. How to change so I see the costumers IP in the sales and not server's IP? Thanks
1
vote
0answers
68 views

Magento 1.9.3.9 PayFlow API - Multiple Issues

I can't find a solution to this anywhere so I'm posting the very strange issues I'm having, in hopes that someone has an answer. I've been going back and forth with PayPal support because I keep ...
1
vote
0answers
20 views

Magento 2, how to get all product options with their price of configuration for view reorder by API?

Using Magento 2.2, API, Reorder. I need to get all cart item information from Product Detail page by programmatically. Step 1: Click Reorder from My Dashboard -> Recent Orders I need belove ...
2
votes
0answers
31 views

Is there an API for retrieving information about search terms (e.g. zero-result searches, etc)?

Couldn't find any information on this. Only v1/search, but that seems to be for simulating searches on the site. I'm wondering if there is a way (outside of using Google Analytics) to retrieve the ...
1
vote
0answers
33 views

Change label and position of media in store views via API

I encountered a problem today while saving images via the API: catalogProductAttributeMediaGalleryManagementV1. The label and position of the image for all the store views except the default one are ...
3
votes
1answer
55 views

Magento 2 - Loading an Order through API

We need to call API's in order to get order details. We are doing so in a dev environment. What happens is that we are not calling any order by the "order_id", instead we use the entity_id. <web&...
1
vote
0answers
28 views

Magento 2, How to respond array in API without sort

Using Magento 2.2, API. I need to return array sort by value but although I try to sort by value the result still return array sort by key. CODE $listStore = array(); // Store locator collection $...
1
vote
0answers
146 views

GET products for my cart with customer token

I want to insert items in a cart using a customer token. I already found how to insert the products but it needs the SKU of the products. The problem is I can't find a way to get the product's SKU ...
2
votes
1answer
371 views

How can I get user information from JWT tocken?

I'm react-native developer, I'm new to Magento, REST and OAuth. I want to use the Magento 2.0 OAuth REST API to login into my app I am getting this token as shown in the image, how can I use this ...
1
vote
2answers
276 views

Magento 2, How to create API for customer forget password?

Using Magento, API. I need to create an API for customer send forget password. I found the page that allows to customer send e-mail for request change password but I don't how to use this page for web ...
1
vote
0answers
40 views

Add products via REST API to Magento 2 webshop

I want to add products to my webshop via a REST API. I have the following API documentation available. Ofcourse, I also have a API token and Test API token. My question is, how can I import the ...
1
vote
1answer
562 views

Magento2 Api Get Admin User Details Inside Magento

I'm making a call to Magento API and I need to save the current admin id POST /rest/V1/precart/create HTTP/1.1 Host: magento2.local Content-Type: application/json Authorization: Bearer ...
1
vote
1answer
30 views

What are cons to accessing magento database directly to pull out product data

I am working on a custom app where customers will be able to virtually try on and potentially even buy my products via an iphone/android app. I am currently working on mastering using the Magento2 ...
1
vote
1answer
578 views

Magento2 REST API Error '500 : {“message”:"Invalid parameter type }'

I am trying to create an API in Magento2 mine custom Module. But its giving 500 : {"message":"Invalid parameter type \"\\Netzwelt\\Booking\\Model\\BookingLocationList\" error, its coming when as I m ...
1
vote
1answer
57 views

Yet another bulk product import issue

We are planning to import a few thousands of products with custom options in Magento CE 1.9. We use SOAP for that, CSV is not an option since additional attributes may store html, json or serialized ...
2
votes
0answers
83 views

Problem adding attribute options to configurable product via REST Api

I have been following the Magento documents about API's. https://devdocs.magento.com/swagger/index_20.html#/ I am using this API: catalogProductAttributeOptionManagementV1 Using Postman I POST ...
2
votes
0answers
64 views

Custom REST API returns duplicate “response” tag

I am struggling because I get an invalid response from my custom API module for Magento 2 (2.2.5). When I send a request to my endpoint via GET with the header "Accept application/xml" (which is ...
2
votes
1answer
665 views

%fieldname is a required field for entry in post media gallery

I'm pretty new to Magento and I was trying to add a media to a existing product. From code I am able to do that as the following: $entry = ['entry' => [ 'media_type' => ---, ...
1
vote
0answers
1k views

Get error message by Report ID in magento2 Programmatically

message": "Internal Error. Details are available in Magento log file. Report ID: webapi-5b5aff5a570b7 I am getting above message from one of the custom Api. From the report id "webapi-5b5aff5a570b7" ...
0
votes
0answers
89 views

Products integeration

Hey magento 2x developer does anybody integrate website with daraz.pk website for products for one time process using api the documentation is there does anybody integrated for one time. Magento ...