Questions tagged [soap-api-v1]
Denotes questions related to SOAP API V1.
56 questions
0
votes
1
answer
74
views
Get categories per store using SOAP in Magento 1
In Magento 1 need to make a SOAP call for a certain category in order to extract information.
For that I use below request:
$result_ = $client->call($session, 'catalog_category.info', 90);
However,...
4
votes
0
answers
187
views
Getting Error for custom SOAP API for Magento2 failed to load external entity
I have followed this link https://inchoo.net/magento-2/magento-2-custom-api/ but getting error.
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://...
3
votes
5
answers
8k
views
How to Change Order Status using Api in magento 2.3.5
I want to develop new module for changing order status using Api in magento 2.3.5 so can anyone have idea then please share with me. I want to create order status and change it using Api.
0
votes
1
answer
815
views
Getting magento2 soap api error ProcedureNotPresent in magento2.3.0
I have integrated magento soap api with 3rd party to update magento order status and shipment.
After upgrading magento 2.1.16 to 2.3.0 it stoped working and throughing error.
I’m debugging the ...
1
vote
0
answers
359
views
How to get product's attributes and their value from product id in Magento 1.9 Soap Api v1
All i need is product total no of attributes and their value ...via passing product id(code is given below).
<?php
require_once('../app/Mage.php');
Mage::app();
$client = new SoapClient('...
0
votes
1
answer
315
views
How to get cms content via magento1.9 soap api v1
I need cms page content which has a short code in it, so it returns shortcode. It should return HTML instead of that. I need to solve this via soap API v1.Below is the output I got.
...
0
votes
1
answer
857
views
Magento 1.9 - How to filter catalog_product.list with their custom attribute in soap/v1
$client = new SoapClient('http://localhost/project/api/soap/?wsdl');
$user_name = $_POST["user_name"];
$password = $_POST["password"];
$response = array();
$session = $client->login($...
2
votes
1
answer
175
views
How to get category image in magento 1.9 soap API
$client = new SoapClient('http://localhost/project/api/soap/?wsdl');
$user_name = "username";
$password = "password";
//$user_name = $_POST["user_name"];
//$password = $_POST["password"];
...
1
vote
0
answers
19
views
Cannot buy via API due to the price always being zero
I have a fully working production site that I am trying to add API ordering to.
I followed the sample here
http://www.magentocommerce.com/api/soap/checkout/cart/cart.html
When I call ...
1
vote
1
answer
347
views
Magento 1.9: SOAP API Inventory Item Update not updating the all data
I am trying to update the Stock data,Using SOAP V1, but many values are not updating.
$stock = Mage::getModel('cataloginventory/stock_item')->loadByProduct($product);
$stockItemData = array(
'...
1
vote
1
answer
626
views
magento 1.9 soap api error
When I try to connect to magenento api through soap with this code:
//soap call test
$client = new SoapClient('https://magentohost/api/soap/?wsdl');
// If somestuff requires API authentication,
/...
3
votes
2
answers
2k
views
Magento2 API Filtering Multiple categories
In Magento2 API, how would I filter by multiple categories?
V1/products?searchCriteria[filterGroups][0][filters][0][field]=name&searchCriteria[filterGroups][0][filters][0][value]=%test%&...
0
votes
1
answer
528
views
The value of attribute "Is Active" must be set -error always when trying to create category via SOAP
I'm trying to create a category via SOAP
$category_data = [
'parentId' => 2,
'name' => 'NIMI',
'is_active' => 1, // also tried 'isActive' => 1
'position' => 1,
'...
1
vote
0
answers
79
views
Magento 1.9 soap API : Totals and subtotals always equal 0 after adding products to cart
I am facing an issue when adding product to a created cart, the product is added to the cart successfully so as the customer, but when I retrieve the cart info total shows always 0, here is steps that ...
1
vote
1
answer
107
views
Connection using soap api magento1.9
I am unable to connect to generate the sessionid using soap api in magento1.9.
I am getting the following error message:
Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://test....
3
votes
0
answers
206
views
Products show only in admin when adding via Magento 1.9 Custom Wishlist SOAP API
Requirement: I am a newbie in magento trying to make a custom SOAP API in Magento 1.9 for managing wishlist. I need to connect it to an android application being developed in ionic V1.
At first i ...
0
votes
1
answer
232
views
Magento 2 SOAP API setSpecialPrice
I am using Postman to post special-price but it's with REST API like so: Post URL: http://magento2/rest/V1/products/special-price
Payload:
{
"prices": [
{
"price": 50.00,
"store_id": 0,
"...
0
votes
2
answers
687
views
magento1.9 soap api to get invoice information
I wants to get the invoice information based on order id in magento 1.9
using soap api.
Thanks.
1
vote
2
answers
904
views
Add simple products to configurable product using soap api
I wants to associate simple products to configurable product from while creating the configurable product using soap api in magento1.9
2
votes
2
answers
16k
views
SOAP-ERROR: Parsing WSDL: Couldn't load from URL Failed to load External Entity
I'm trying to get all products in $productArrarray from magento 2 API via SOAP client. I tried the below function but it throws this error:
Error:
SOAP-ERROR: Parsing WSDL: Couldn't load from
'...
3
votes
0
answers
375
views
How to create API Endpoint in Magento2?
I want to create API route which can list/return products data in JSON or XML format.
By creating this endpoint I will be able to fetch the all the products from Magento. Then I will access it on my ...
1
vote
1
answer
644
views
Magento 1.9 Soap: Uncaught SoapFault exception: [100] Requested order not exists
I try to get data from sales_order.info.
I connect via $_POST data, where I need to input the order number in a form. When I input a wrong order invalid order number I get a fatal error:
Fatal ...
3
votes
2
answers
309
views
Switch off WS-I Compliance, Magento 2 Opensource
Does anyone know how I could switch off WS-I compliance for a Magento 2 website, or even if it is possible?
Trying to connect to a shipping API (Royal Mail Click and Drop) and they say WS-I ...
1
vote
0
answers
483
views
Magento 2 SOAP API Question
I am using Postman to test send data to different websites e.g
I have 2 websites each has its own domain e.g onoe website one store and one store view per domain.
e.g
1- http://test.com have:
...
0
votes
0
answers
663
views
Magento 2 SOAP API ERROR
I am using SoapUi to send a product to save changes the price per website for example here I am using the default website but it isn't working:
the Request:
<?xml version="1.0" encoding="utf-8"?&...
2
votes
1
answer
6k
views
How to test a Magento SOAP API call using Postman
Does anyone have a step by step tutorial on how to post and test a soap v1 api call using Postman?
1
vote
0
answers
152
views
Writing an event observer to a SOAP API
I have a module, which grabs the customer information everytime a customer is updated. Right now, the customer data is stored in the var log file and I want to send this information to a SOAP API, ...
0
votes
0
answers
71
views
Customer update SOAP action
I need a point in the right direction. Right now we have a SOAP V1 API grabbing customers when they create an order. I have been asked to also be able to update a customer when the save new profile ...
0
votes
1
answer
739
views
Magento 1.9 API - how to get sales of product from orders?
Trying to get some information about products sales based on SKU.
How can I do it ?
Do I have to pull all data orders then loop it trough or can I ask for sale of specified product directly ?
What I ...
3
votes
1
answer
250
views
Magento1.9: New product Image upload from magento to pinterest
Is it possible to post a Magento product image to pinterest.
When I create product it's image is automatically uploaded from Magento to Pinterest.
Actually in my website there are 1000+ product ...
0
votes
1
answer
227
views
Doubts about working with API
I have to make a method to send my login and password to a website and get the xml it returns, its gonna be a list of products. What would be the best way? My options are: SOAP 1.1, SOAP 1.2, GET and ...
4
votes
1
answer
9k
views
POSTMAN rest and Magento-rest with Oath
POSTMAN rest client with magento REST api with Oauth.
How to get Token and Token Secret?
Magento REST API, how i will get token and token secret to be fill in Postman REST request. I have only ...
1
vote
2
answers
845
views
Magento catalog product list soap API is not working
I'm trying to access magento product catalog data using magento API.
I'm trying sample code provided by magento
$client = new SoapClient('http://magentohost/api/soap/?wsdl');
// If somestuff ...
0
votes
1
answer
89
views
Can I make Soap V1 Api Calls from a magento 2. version?
Was wondering if I could use the magento SOAP v1 API to consume data from a magento 2 version store.
2
votes
1
answer
701
views
Magento 2 custom SOAP Api returns error
I am trying to create new custom SOAP API but it returns following error "SoapClient::SoapClient(): $wsdl must be string or null"
etc/webapi.xml :
<?xml version="1.0" ?>
<routes xmlns:xsi="...
0
votes
1
answer
462
views
Can not make operation because store is not exists in SOAP api for Add to cart products
Can anyone guide how to solve below bug
'Can not make operation because store is not exists' in SOAP api for Add to cart products
I tried,
$proxy = new SoapClient('http://localhost/magento1.9/...
0
votes
1
answer
179
views
magento soap api how to achieve layered navigation
I am developing a mobile app using magento 1.9 SOAP API, I have integrated all the API endpoints and the functionality is almost complete. The issue I am facing is to implement layered navigation as ...
3
votes
2
answers
2k
views
How to get all images of a single product
how to get all images by using below code. I'm only getting single image
<?php
class Affilnow_Module_Model_Product_Api extends Mage_Api_Model_Resource_Abstract
{
public function items($...
2
votes
1
answer
594
views
Cart total doesn't update after adding an item to the cart (using API) using Magento 1.9 CE
I'm using Magento 1.9 CE and am using XML RPC to connect to Magento's API and after I add an item to the cart, the "totals" do not update.
Here's the order of operation:
login to api
cart.create - ...
1
vote
0
answers
281
views
Get orders id in DESC using magento soap api
$session = $client->login('Sandbox', 'ek7PswHDZtHDWtY0O3xLcyUYFIBUtFMW');
$orders = $client->call($session, 'order.list');
This gets the order in ASC order by default. I want to get orders in ...
0
votes
1
answer
550
views
SOAP - unable to invoke since upgrade to 1.9.3.1 (timeout), how to debug?
I've recently upgraded a Magento installation from 1.9.0.1 to 1.9.3.1. Ever since, the various apps I use to communicate with Magento via SOAPv2 have timed out with error 504.
When I attempt to load ...
1
vote
1
answer
455
views
Custom order method API V1
I have ERP and connector, where I need to connect order with my magento order. For that I've created erp_order_id inside magento. And now I need to create custom API V1 method - setErpId (which will ...
2
votes
2
answers
804
views
Getting Customer Tracking number via SOAP API
I have a developer who is saying he can not get the shipmentIncrementId to get the tracking number.
http://devdocs.magento.com/guides/m1x/api/soap/sales/salesOrderShipment/sales_order_shipment.info....
3
votes
3
answers
3k
views
Product Stock List using SOAP API
I am using following code to get the stock detail I am getting product stock of productId 149428
$proxy = new SoapClient('http://yourstore.com/api/?wsdl');
$sessionId = $proxy->login('apiuser', '...
1
vote
0
answers
117
views
CE 1.9.2.4 on virtual server: SOAP-API V1 not working
Problem: i have a virtual server with Plesk (Ubuntu 14.04) and the SOAP-API not working. I have many trouble with this issue, because i have a second server with the same configuration and there no ...
3
votes
1
answer
675
views
Magento 2 : How to invoke soap wsdl request for magento2 in Postman?
When i am giving url in postman using get method.
http://127.0.0.1/magento/2.1/soap/default?wsdl&services=taxTaxRateRepositoryV1
then it showing Consumer is not authorized to access %resources
...
0
votes
1
answer
336
views
Magento SOAP API v1 in browser
When querying through a web browser the old SOAP API of a magento 1.9, Apache get mad, with the following:
http://www.fld.fr/index.php/api/soap/index/?wsdl=1
[negotiation:error] [pid 9289] [client ...
0
votes
0
answers
176
views
Disable product from using API or filter API
Is it possible to disable a product to not use the API at all? We have several setup configured, but we also have a lot of product that use the API, but don't need too. I'd be okay to filter by API ...
1
vote
0
answers
273
views
Uncaught SoapFault exception: [1062] Shipping method is not available
Why only flatrate_flatrate in array shipping Method?
I set the customer and address is successfully.
Array
(
[0] => Array
(
[carrier] => flatrate
[...
3
votes
1
answer
1k
views
How to get order_increment_id using SOAP API in Magento 2
In Magento 1, we get the 'order_increment_id' when we use the 'order_creditmemo.info' parameter in SOAP API.
The same thing I want to fetch in Magento 2 SOAP API. But when I am trying to get ...