How to fetch orders from multiple shopify stores owned by different users - shopify

I need to fetch orders from multiple clients shopify stores into our external web-app. I am struggeling to understand how to achieve this.
So far I created a custom public app which is able to get data from single store when it is installed.
But this does not solve a problem for my external API to get order for all the stores that want to collaborate with us.
Note, I don't want to use webhooks, instead I want to poll this data, because:
Documentation states that webhooks are not guaranteed to success and suggest that I should poll anyway
I don't need real-time orders, once a day is enough.
I need to combine multiple orders into one in my own external API anyway.
I have been digging in documentations for days, but I am still struggeling to find the right way. Any help would be very appreciated!

Related

How do I integrate third party APIs with Shopify to find and create products?

I have created a Shopify Store which needs to contact another outside web service to send a query and then build the products based on the query response data.
Is it possible to do with Shopify?
If yes, then how should I go about implementing it?
I have tried looking into the docs but it seems like the only option is to connect with Admin API to add products. However, I don't want to store product data but instead rely on the API.
You do want to use Admin API calls. The reason is simple. They let you create products in Shopify, in bulk. Why fight the power! Using the Admin API has nothing to do with storing products, not sure why you're afraid.
So you get your product info from wherever, format it into Shopify-compatible data, inform Shopify of your data, and sit back and relax. The bulk building is really quite simple for a pattern. You can also build yourself a CSV to import where you also format the data to be compatible with Shopify. So there are two options for you right there.

Getting a list of Hotels availability information from booking.com connect API

We do marketing solutions for our hotel clients. For that matter, we need to know their room availability. it would be easier to collect such information from booking.com cause all our clients use booking OTA, other than connecting API directly to each of them.
My question is: Can we get other hotels' availability from booking.com Connect API?
OR is there any other GDS solution we can get booking.com existing data, like Sabre?
In order to achieve what you want, Aggregators must be enabled in your PCC; in the documentation, there is a special field to enter the Aggregator number so that using this, you can retrieve the information from various hospitality sources.

Fedex Developer Rest API Ship API

I am trying to play around with FedEx APIs: https://developer.fedex.com/api/en-us/home.html
and actually I would like to know, is it possible to track new created Shipment via Ship API on sandbox/test environment?
Actually I've tried to create multiple different types of Shipments validate them, and received 200 Ok response, however I wasn't able to track it by tracking number returned in response, so the question is it possible at all on API sandbox environment to create Shipment and find it by tracking number on FedEx site or using Track API's Track by Number Endpoint.
Cannot find such limitations in documentation, so will be very appreciated if someone can shed light on this.
I think it's not possible to track with the tracking IDs which you get from ship API.
But you can track the orders with the mock tracking numbers from here.
It's really very irritating because when we get the tracking IDs in the test environment, we should be able to track the orders by using them in the test environment. FedEx should have to focus on this.

How do web comparison websites like kayak get their data?

I have been looking online and saw many similar/same posts but all were extremely old (latest I found was from 2011) so since technology changes, I thought I ask too.
I wonder how a flight comparison website (where you cannot book flights and can only be redirected to other websites) get their data.
Is it all by now through api's or is it throgh scrapping data (which would be not so reliable)? Ive been reading online, trying to find out if thats the case but it doesnt really seem that EVERY airline and EVERY flight search website (with booking option) provides an api. So I wonder how sites like Kayak get their data if not every airline/every flight booking website provides an api?
Also, I came across some api's like
QPX Express API
skyscanner travel api (which I checked out on some website which is using it and it does seem that data is quite limited ?!)
Travelport api
Amadeus API
Sabre travel api
Wego Affiliate Network (which seems really great but search takes super long)
I wonder if anyone has experience with the mentioned api's and how good their are /if using them is 'the way' of doing it or if its actually much more realiable to request data directly from each airline and booking website (if thats possible)?
Thanks a lot!
If we take Kayak as the example, as that is who you mentioned, they approach the data in two forms.
They have API PULL connections to GDS companies (i.e. Sabre), some airlines and large online travel companies such as Expedia etc.
Smaller airlines in particular PUSH their inventory and fares from their inventory to companies such as Kayak.
Aggregation companies generally provide PUSH access though companies who want to PUSH their data have to comply with the aggregators requirements/standards.
It is a supply and demand service. Aggregation companies will generally request access to large established companies, however, will also allow companies to push their data to them if they wish.
The data is not normally scrapped, it is through API and web service platforms.

How can I get to know that specific product is managed by Cdiscount (FBC) using Marketplace API of Cdiscount?

I'm using Marketplace API. I have all products and its offer. I just want to identify that which offers are managed by FBC. I have read all documentation of cdiscount API but did not find any way from that we can identify that specific offer is managed by Cdiscount or not.
Let me explain you via example, I'm currently working on integration stuff. Now, Our system is partially integrated with cdiscount. In which we have all ours products, offers, sales and etc.
Now, I have a case that I want to update the stock of specific offer by calling API (SubmitOfferPackage). As I know that I can not update the inventory of that product which is handled or managed by Cdiscount. So, I want to update inventory of all product that was managed/handled by me.
I'm using GetOfferListPaginated API to get all offers. There is no parameter in response message to identify that specific offer is managed by Cdiscount or not.
Any help would be much appreciated