Fedex Developer Rest API Ship API - 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.

Related

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

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!

How would I go about developing a program that automatically sends an email with the tracking number to a customer using EasyPost API?

I'm a fairly new web developer and I have an ecommerce website that integrates EasyPost to create and print shipping labels.
EasyPost has an API. Also, in each shipping label, I see a JavaScript object (I think) that displays buyer_address... "email": "example#gmail.com",, which tells me that the email information is there.
My question is somewhat general in scope: What steps would I need to take to go about creating this automation? The website is built in Webflow, so I don't really have a "codebase" or "repository" to store whatever code is needed to build the automation.
Since the buyer email is making it into EasyPost with integrations already in place, I feel that I could create a simple program that emails the tracking number to the buyer email every time a label is generated, or perhaps when package is shipped, without the program needing to interact with Webflow or other integrations.
I attempted using Zapier, as well as Make.com. Neither worked, and OrderDesk doesn't have a way to send tracking number emails.
It looks like Webflow has some kind of support for Webhooks (https://webflow.com/feature/create-webhooks-from-project-settings). EasyPost offers webhooks for free as an add-on service. Basically, with webhooks, EasyPost would send tracking events to Webflow proactively, but Webflow (or you) would need to manage the logic for what to do with those tracking events after they are delivered.
EasyPost Webhook Guide
I'm unaware of any off the shelf products that could do this for you without writing any code. We have a guide that details how you might accomplish this with Ruby (you could then follow this as an example for any other language): https://www.easypost.com/email-tracking-tutorial
A few suggestions:
Integrate something into Webflow if possible (I'm unfamiliar with the platform so couldn't say).
Build a simple script that runs on a schedule (cronjob) that retrieves your trackers from EasyPost and sends an email to customers if they have not yet received one. To your point, this approach wouldn't require interacting with Webflow at all and could be done with some local code running on a server and just your EasyPost API key.
I've created a simple UI for EasyPost: https://github.com/Justintime50/easypost-tools-ui, it could be interesting to add this particular use-case as a feature to that project. If you're interested, feel free to open an issue on GitHub for the repo listed here and I'd consider it.
You'd use easypost's API webhooks, to detect when shipment tracking information is provided, or package information is updated.
https://www.easypost.com/docs/api#trackers
It looks like it has a lot of states, so you can keep the client updated regarding the package status from the moment the tracking # is assigned;
EZ1000000001 pre_transit
EZ2000000002 in_transit
EZ3000000003 out_for_delivery
EZ4000000004 delivered
EZ5000000005 return_to_sender
EZ6000000006 failure
EZ7000000007 unknown
You can install webhooks from these docs.
To send the email, you can use an automation service e.g. Make to capture those webhook events, and then compose and send an email to that customer. I like MailJet for that purpose, because it has excellent template support and you can send from your own company domain. But there are many email-sending options.
A bigger challenge, maybe, is getting the email address to send to. I didn't spot it glancing through the Trackers or Shipments data structures, and I am primarily seeing physical address info.
If EasyPost is not tracking the customer's email with the shipment, you may have some challenge in that you'd need to capture the client info through Webflow's order webhooks, and then associate that with EasyPost's shipmentid, and store those in a reference table.
Many automation services offer database-like functionality for this purpose, or you could use e.g. google sheets ( columns webflow OrderID, easypost ShipmentID, customer Email ) or airtable for that purpose.
But you'd have to look into the Easypost integration as well, and you may need to make that integration manual so that you can acquire all 3 of those pieces of information at the same point in your business data flow.

Can we query all UPS Shipments at once using API

I know, we have dedicated API documentation for Shipping and different services.
But there is no endpoint to get all UPS Shipments at once using API.
Can anyone provide me the endpoint with example?
Thank you in advance.
I had the same question and after a long email thread with UPS Support they confirmed there is no way to grab historical shipment information.
The only option they gave is maybe using QVM which also has it's limitations.
That would be correct, Quantum View Manage and Quantum View Data would be your best available option to view the outbound information. You can have it build a report with address, name and tracking number. Contact your local UPS Account Representative for in depth details if you would like to explore that option. There is a Quantum View API however it would first need to be setup via your local Rep with the website. You are still manually searching the docs however for the information at hand when reviewing the reports. It will not pull it up or give a simple error if what you are looking for is not found. They just pull information all or nothing.

Static data query - self service Amadeus API in production environment

I am currently developing a web app using self-service Amadeus API in a production environment, I have questions related to the static data, kindly reply.
Questions:
1. Is there any static data available related to flights schedule or any other detail which we can store on our end and get it synced in some scheduled manner, in place of fetching all data every time using APIs.
2. In case we have static data then what will be the ideal time duration to refresh data.
3. Are we allowed to store real-time data on our end temporarily? If yes then for what duration we can keep a copy of same.
4. Is there any API where we will send a list of Flight/Segment Id and get details only of those selected records. What I mean is we like to know details of 10 specific flights/segments. So can we get the information related to those 10 flights/segments whose id we will pass to API?
5. What's the response time of search API and API which returns details of the flight.
6. What all filters available in search API to filter data.
As of today, ee do not provide static data for flights schedule
/
You are allowed to store the data coming from the flight search API as long as you do not resell it in any way. Keep in mind that this data changes a lot (price/availability)
You can use the Flight Offers Price API for this. Flight Offers Price takes a list of flight-offers (that you get by using the Flight Offers Search API). For those flights-offers the API revalidates the price and the availability.
It depends on where you are based, which API you use and how you use it (filters), you can try our APIs for free in our test environment. Keep in mind that the test environment is limited in terms of the number of API calls, data and has a slower response time than the production environment
Our catalog is fully open (no need to register) you can find the Flight Offers Search reference documentation here listing all the parameters available. The Flight Offers Search API has 2 endpoints:
GET a simpler version of the search, easy and fast to implement but offering less filtering
POST offering a full access to all the functionalities of the flight search

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