Magento SOAP API - getting product attachments - magento

I am using SOAP API for Magento to get every data about products made in Magento. So far, everything went juuust fine, you get get everything using API commands which are in Magento documentation.
However, I am stuck with attachments. There is a attribute in Magento called "Attachments" for each product and it contains links to pdf files. I tried every API and trick including exports and filters and I can't get that data. Unfortunately, I can work only with API and SOAP v1.
I tried "product_downloadable_link.list" of course, but I get an error: "Caught exception: Incorrect product type. Downloadable content, can be added only to "downloadable" products."
Any advice would be appreciated. Thanks!

Magento 1 or Magento 2?
Also if will be helpful if you provide the API endpoint that you are using, and if this is a Magento 2, the custom attributes are retrievable via extension attributes.

Related

Magento 2 - GraphQL custom resolver that returns a list of products

I'm searching for a way to build a custom resolver that returns a list of products. I've tried reading the magento code in vendor but I'm not able to reproduce it on my code.
We already have working resolvers that returns simple types like strings ora arrays.
If you can post a snippet or some website with an example it would be great
Magento version 2.3.4
Thanks

Get Data from Shopify using JQuery Ajax

I am building an application where I need to fetch data from my Shopify account using Jquery Ajax. I have gone through documents provided by Shopify, but I have not landed to any solution yet because the documentation provided by Shopify does not make any sense. Please provide solution if you guys have any.
You have this help page : https://help.shopify.com/en/api/reference/customers/customer#
this url is available :
GET /admin/api/2019-04/customers.json
this retrieves a list of customers.
The documentation show you how to :
Retrieve all customers for a shop
GET /admin/api/2019-04/customers.json
Retrieve all customers after a specified ID
GET /admin/api/2019-04/customers.json?since_id=207119551
Retrieve all customers changed after a certain date
GET /admin/api/2019-04/customers.json?updated_at_min=2019-04-17 19:42:24
Retrieve a list of specific customers
GET /admin/api/2019-04/customers.json?ids=207119551,1073339460
You just have to do a GET call.
This link show you how do you have to do : https://guide.freecodecamp.org/jquery/jquery-ajax-get-method/

I am getting error while uploading customer in magento

when importing customer into magento (magento 1.2.0.0) I dnt get any error when i upload the following data with other magento customer data.
It seems magento usually skip this raw. But when i only put the following rows then i got error Email is not specific.
_address_middlename,firstname,lastname,email,password_hash,middlename,_address_firstname,_address_lastname,_address_street,_address_postcode,_address_city,_address_country_id,_address_region,_address_telephone,created_at,_website,_store,created_in,group_id,reward_update_notification,reward_warning_notification
25422:25566:1800wc,nelsdon,carddona,test#yahoo.com,nelcar082,,Elizabeth,Pollack,2512 Candle Ridge Drive,21702,Frederick,US,Maryland,301-695-8390, X307,2006-03-22 18:47:00,base,default,"Default Store View",1,0,0
anyone can give me solution.
You might want to take a look at this:
Magento Email validation on Customer Import
Then be sure to examine whether or not test#yahoo.com is a valid e-mail according to the Zend e-mail validator in /app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php as the link above indicates.

Magento 1.7.0.2 custom payment methods not showing on frontend checkput page

Magento 1.7.0.2 custom payment method not showing on front end checkout page
I am trying to create a custom payment method to connect to an external payment provider.
But no mater what module I am building or using, my new payment method will not show on front end, in the checkout page.
I have tried the create payment module tutorial at:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-module
and the really great tutorial at:
http://www.junaidbhura.com/how-to-make-a-custom-magento-payment-extension-for-an-external-gateway/
The modules are built and I can see and configure them on admin panel.
But the new payment option will not show on front end.
Following some tips I found on the topic I have tried:
Making sure that the currency is set correctly in both modules and
store.
make sure that allowed countries are allowed in module
I am working with cache disabled and just to make sure flushing it every time a I
change something, (either through system or directly at var/cache folder).
I have disabled two other modules I previously installed:
CurrencyManager & Skipstep1.
I will greatly appreciate any help, as this is the only thing left for me to get my store online :), and I could not find a solution for a few days now.
Thank you

In magento retrive the details of a single product by REST url

As I am new to magento, I have downloaded magento sample data to mysql database. In the browser if i give the REST URL like this: http://192.168.1.101:8010/magento/api/rest/products it returns the list of products in XML format. But i want the details of a single product. Then what I have to do??
http://192.168.1.101:8010/magento/api/rest/products is the url I got from the magento site.. But they havent give for the product details.
Do i need to wirte any code for my reqiurement??
For http://192.168.1.101:8010/magento/api/rest/customers it shows access denied... How can i get resolve of this..
please go thoroughly wiki of magento, it might help you.here is the link.
For single product your REST request would be as follows
magentohost/api/rest/products/8 where 8 is the id of product.
For second question i.e "Accessed denied" is this due to permission , you have create consumer for admin or customer to get that resource. please check here

Resources