Discussions
Rating inconsistency API vs WEB
Hello,
I'm trying to retrieve shipping rates via API. Unfortunately it seems that the API returns different rates vs the Web app which calls same version (V1) of the API although different url.
I tried posting the payload that the web app makes (https://app.easyship.com/quote) to the API call via Postman (https://api.easyship.com/rate/v1/rates) so that the payload being sent is the same, but still I get different rates when I check the JSON response.
Would someone be able to help me out with an advice regarding this inconsistency?
Thanks
Posted by Grosz Wilhelm over 3 years ago
Cannot confirm shipment and buy Lable
Hello,
I am working on the sandbox environment
I have an error I am facing while trying to confirm a shipment via API.
First I created the shipment via this endpoint: https://api.easyship.com/v2/shipments
Then I tried to confirm shipment and buy label using the endpoint: https://api.easyship.com/label/v1/labels.
I however got the response when I used the easyship_shipping_id gotten :
"message": "Shipments not found or labels already requested: ESUS10077829",
"errors": [
"Shipments not found or labels already requested: ESUS10077829"
],
"labels": [],
"total_cost": null,
"available_balance": -176.22
And when I try to tack the shipment, I still get a valid response. What am I doing wrong please?
Posted by Michael over 3 years ago
Shipping Rule does not apply to API? Am I able to get rates with parcel dimensions?
Easyship does support J&T services in Singapore and I have set Shipping Rule to retrieve J&T services as priority courier service, but after testing with Production and Sandbox token, both return NinjaVan as my courier.
Is it possible to get rates without parcel dimensions but with only total weight?
Because it is either with Total weight and Parcel dimension, or without them.
Would like your help please.
Thank You.
Posted by Chang Jiong over 3 years ago
The Rates API returns "User doesn't have permissions for this request"
acroding the instruction blow
"How to Get an API Access Token
Login to your Easyship dashboard
Click Connect > New Integration and select API Integration.
Give the new integration a name and click Connect
You will be provided with an access token for our Production and Sandbox environments and will be able to adjust the API scopes you want to access. "
I try to call the API by using postman,
I aleady generated two API Access Token, but it doesn't work?
the request body is :
{
"origin_address": {
"line_1": "55 Prospect St",
"line_2": "Unit 401",
"state": "NY",
"city": "Sydney",
"postal_code": "11201",
"country_alpha2": "US"
},
"destination_address": {
"line_1": "1 quai de Jemmapes",
"line_2": "Porte A",
"state": "CA",
"city": "Paris",
"postal_code": "75010",
"country_alpha2": "FR"
},
"incoterms": "DDU",
"insurance": {
"is_insured": false,
"insured_amount": 10,
"insured_currency": "USD"
},
"courier_selection": {
"apply_shipping_rules": true
},
"shipping_settings": {
"units": {
"weight": "lb",
"dimensions": "in"
},
"output_currency": "HKD"
},
"parcels": [
{
"total_actual_weight": 0.8,
"box": {
"slug": null,
"length": 10,
"width": 8,
"height": 5
},
"items": [
{
"description": "Silk dress",
"category": "fashion",
"sku": "test01",
"quantity": 2,
"dimensions": {
"length": null,
"width": null,
"height": null
},
"actual_weight": 10,
"declared_currency": "USD",
"declared_customs_value": 20
}
]
}
]
}
and I add the header
Authorization: Bearer prod_qiR0tLw3kGWy+ozKO4jNl0kxeQZf8JFSlQMVcQwew2Y=
Posted by Gordon over 3 years ago
Zapier Triggers firing inconsistently
In some cases, I am able to visit a shipment that has went through the entire set of statuses from Created -> Delivered, but our Zapier integrations for "New Shipping Label" and "Shipment In-Transit" never fired.
Is this a known issue? I'm guessing EasyShip could have a bug where if a status switches rapidly to a status that isn't in your triggers, you're never triggering our zaps.
We're considering the following two solutions:
- Using your webhooks
- Using the "Shipment Updated" zap and catching every single status update so that if the underlying bug is some sort of batching of status updates from EasyShip, we can just handle the later status
Please let us know. Happy to provide more specifics of shipments that failed to trigger
Posted by Dustin Pearson over 3 years ago
Rates API Error
Attempting to use the v1 and v2 API to just retrieve rates, but seem to just get the same error over and over.
Can someone from the dev team provide any information on where I might be going wrong.
v1:
https://share.getcloudapp.com/5zuYN1W6
v2:
https://share.getcloudapp.com/Wnux0G1q
Posted by Bris over 3 years ago
Rates API Error
Response:
{
"status": "failure",
"errors": [
"Sorry, we couldn't find any shipping solutions based on the information provided."
],
"request_id": "ad9abdec-6ae7-4130-9b01-4c99bba91116"
}
Request:
{
"origin_address": {
"line_1": "21 Ellis St",
"line_2": null,
"state": "ENG",
"city": "London",
"postal_code": "SW1X 9AL",
"country_alpha2": "GB"
},
"destination_address": {
"line_1": "46 Green Lane",
"line_2": null,
"state": "ENG",
"city": "London",
"postal_code": "W42 1YH",
"country_alpha2": "GB"
},
"incoterms": "DDU",
"insurance": null,
"courier_selection": {
"apply_shipping_rules": false
},
"shipping_settings": {
"units": {
"weight": "g",
"dimensions": "cm"
},
"output_currency": "GBP"
}
}
Posted by Bris over 3 years ago
Urgent need of help with API integration in C#/.Net
Hi there, I am in urgent need of assistant regarding the integration of EasyShip API into my C#/.Net project.
I need to request for Rates, Create Shipment, Update Shipment. I am unable to find any example codes anywhere online and seriously in need of assistance, I do not know where to start.
Please any experts, do hope to hear from you.
Thank You.
Posted by Chang Jiong over 3 years ago
Rates vs Shopify Rates?
How do Easyship rates compare to the discounted rates available via Shopify?
Posted by Jon Elling over 3 years ago
"There is not enough credit on your account" - Sandbox Post Label
Why am I getting this error,
{
"message":"There is not enough credit on your account"
"errors":[...]
"labels":[]
"total_cost":60.26
"available_balance":0
}
I'm currently using my sandbox creds, also with creating the shipment.
Also what is partial success and why is it only partial success when creating a shipment. Thanks
Posted by Berna over 3 years ago