How to use magento api with iOS app - api

I want to use Magento custom API with iOS app.
What option we have to develop such a application.Magento SOAP or REST or anything else is useful in this case.
Please suggest me best way.
Thanks

You have to setup API roles and users in Magento. After that you can use these credentials to fetch and update data in Magento.
Check this http://www.codepetals.com/setup-your-magento-store-for-integration-with-mobile-app-or-an-erp/

Related

Shopify Public App - How To Get Key, Token & Url

I am totally new to Shopify Public App development and I will need your help to understand it a bit better.
For a client, I need to build a Shopify Public App that will be used by several Merchants.
This application will have to access the Merchants' store via the Admin API.
If my understanding is correct, in order to access one specific Merchant's store via the Admin API, I need to have 3 pieces of information from that Merchant's store: the Public API Key, Token and URL.
Now, my question:
When the Shopify Public App is installed by a Merchant, how does my app get these 3 pieces of information (specific to that particular merchant) ?
Is there any "magic" trick? Does the Merchant need to input this info? ...
In advance, many thanks for your help
Each merchant will need to install your app. In the installation phase shopify will pass, as an argument, the access token, that is a token that you will need, to use the Admin API.
If we're talking about an embedded app is expected that every request made is authenticated.
Depending on which kind of app you want to create (embedded or not) and language you may want to use, using the Shopify Cli to create the first draft of the app is really reccommended. It will create the base to have an installable app. Here is the documentation https://shopify.dev/apps/getting-started/create
You need to install the Shopify Cli and then run
shopify app create (node | ruby | php)
depending on your language of choice.
For those who might be interested, I finally found the link to the information.
Shopify - Getting started with OAuth

Storefront event webhooks in Shopware 6 app development

I developing an app and basicly if an user loaded a product in the storefront it should send a request to my server. So i thought thats possible with webhooks. But unfortunately there is no webhook for this case.
The closest thing i could find is the product.written webhook but that seems useless for my case.
Anyone has an idea how i could realize my request?
I use Shopware 6.4.11.1 as development enviroment.
Although I have not found any appropriate webhook in the webhook events reference, this may be doable in a slightly different way, without using the Shopware App Webhook mechanic.
In the Shopware documentation there are shown ways to add Storefront scripts to an app. There is even an example for product-page-loaded. You would be able to execute some of your own code in there, but honestly I have not tried to ping external servers like this and I can't tell you that this will surely work.
You could also potentially add some custom JS code that pings your server with the appropriate info.
Unfortunately I don't think you can compel Shopware to send a request from its backend on a ProductPageLoadedEvent

How to develop and make a Bigcommerce app

I want create an affiliate application for Bigcommerce to interact with my store. I trying to use API but it's not work proper.
Follow the instructions on https://developer.bigcommerce.com/ to build an app.
https://developer.bigcommerce.com/api-docs/getting-started/building-apps-bigcommerce/building-apps
If you need help with a specific API, try posting the details of the request, and what you're trying to do.

How to use Sylius as back-end? Its REST APIs are only for admin users

I have read sylius document about REST API. I found that all the REST APIs of Sylius are used for admin user, so I cannot separate front-end with back-end.Same question like this
You can use the ShopApi plugin to have full experience of Sylius APIs :) https://github.com/Sylius/SyliusShopApiPlugin

Phonegap/Cordova App to connect a api

I have a simple REST API made in Rails with output data in json format.
I want create a phonegap app to connect and consume the API resources. someone know a tutorial to do this.
I am only a junior backend dev and no know about mobile apps.
Thanks in advance
forget, i found this Cordova Tutorial that use jQuery Ajax