Discussions

Ask a Question

Select Optional Services via API v2

How to use Optional Services (e.g. UPS Optional Services such as Saturday Delivery, No Signature) on Shipment API? And how can we set Taxes & Duties through API (such as Post-paid (Receiver) and Pre-Paid (Sender) ) ?

API for our business

Hello Team, What API version should we use? Our use-case is that we need to create Shipment in EasyShip through API. This shipment should be shipped directly and print labels (with just one click of button on our system). I noticed that only v1.0 has this "Create a shipment and buy label". How can we Ship the shipment from API and what's your best advise? Thank you very much!

Global Dynamic Shipping (global easyship account)

Following this post https://developers.easyship.com/discuss/62af1d6cbb958b0044c9a7fe where you explained how we can dynamically change the source address (via API) for rates and shipments. The origin_address object doesn't contain the country_alpha2 (string) that the destination_address object contains. We are using easyship's global account and need to be able to specify the country in the origin_address object. Please advise how to do this.

Hi, where I can get guide on the API requests history.

I use API but it does not show negotiated rates from Easyship

api if exist white list

easyship api if exist white list?

API can't get proper shipping solutions

I'm trying to use the API with my test key and getting this error: "Sorry, we couldn't find any shipping solutions based on the information provided." It works fine for the rates cal, but won't work when I try actually creating a package.

Shopify / Fulfillrite Intergration

Hi we would like to integrate our Easyship accounts to Shopify and then to Fulfillrite for fulfillment. We have one Shopify store and selling/ fulfilling orders in both Australia and the US. Currently we have 2 Easyship accounts (One for Australian rates the other for Us Rates) 1. How do we integrate Shopify to Easyship and then both Easyship accounts to Fulfillrite to get live rates at check out for both locations? I have can copy both API Tokens from each Easyship account but Fulfillrite has only one allocation spot. 2. How can we see the integrations are all working and when we do a test order through Shopify that the order has gone through Easyship and pushed the order to Fulfillrite for fulfillment? Thank you

Unable to download Shipping Documents

Goof afternoon, I am unable to download my documents in Easyship, its been an hour or so and it still says "pending". Do help me in this matter.

Buy label issue

Hello. I'm having this error when i'm trying to buy a label for a shipment using https://api.easyship.com/label/v1/labels request: { "message": "undefined method map' for nil:NilClass", "errors": [ "undefined methodmap' for nil:NilClass" ], "labels": [], "total_cost": null, "available_balance": 100.0 } I'm having it on both sandbox and prod accounts. Can you please explain what this error could mean? Can you please provide a list of possible error codes/errors which can occur on label creation? Also i see on the UI that for some destinations/weight the system can not find a courier. What will be in the buy label api response in this case? And what will be in the response if there's not enough money on available balance ? The shipment was created in postman using https://api.easyship.com/v2/shipments with following body: { "origin_address": { "line_1": "2509 Plantside Dr", "line_2": "Unit 401", "state": "KY", "city": "Louisville", "postal_code": "40299", "country_alpha2": "US", "contact_name": "Rob", "company_name": "SV", "contact_phone": "+8129876619", "contact_email": "[email protected]" }, "sender_address": { "line_1": "2509 Plantside Dr", "line_2": "Unit 401", "state": "KY", "city": "Louisville", "postal_code": "40299", "country_alpha2": "US", "contact_name": "Rob", "company_name": "SV", "contact_phone": "+8129876619", "contact_email": "[email protected]" }, "return_address": { "line_1": "2509 Plantside Dr", "line_2": "Unit 401", "state": "KY", "city": "Louisville", "postal_code": "40299", "country_alpha2": "US", "contact_name": "Rob", "company_name": "SV", "contact_phone": "+8129876619", "contact_email": "[email protected]" }, "destination_address": { "line_1": "9265 Firestone Blvd, Downey, CA 90241, United States", "line_2": "Porte A", "state": "CA", "city": "Downey", "postal_code": "90241", "country_alpha2": "US", "contact_name": "Sonny Bill", "company_name": "Sonny Bill", "contact_phone": "+336638000", "contact_email": "[email protected]" }, "metadata": {}, "set_as_residential": false, "incoterms": "DDU", "shipping_settings": { "units": { "weight": "lb", "dimensions": "in" }, "printing_options": { "format": "pdf", "label": "4x6", "commercial_invoice": "A4", "packing_slip": "none" }, "buy_label": false, "buy_label_synchronous": false }, "parcels": [ { "total_actual_weight": 10, "box": { "slug": null, "length": 10, "width": 8, "height": 5 }, "items": [ { "description": "Silk dress", "category": "fashion", "sku": "test01", "quantity": 2, "dimensions": { "length": 12, "width": 12, "height": 12 }, "actual_weight": 10, "declared_currency": "USD", "declared_customs_value": 20 } ] } ] }

Pickup API: "Sorry, it is too late to request a pickup at this time, please refresh and try again"

Hi I'm trying to create a pickup request for a shipment that I created using the API. In the pickups endpoint call that I'm making I'm passing in the data as per the documentation and the slots returned by the "pickup_slots" end point. It's failing to create the pickup, however, and returns this response: "Sorry, it is too late to request a pickup at this time, please refresh and try again" Here's how I'm passing the data in the request body: { "courier_id": "dfa5ba0d-4f91-4f6d-9622-8f1a22b23855", "preferred_date": "2022-04-26", "preferred_max_time": "2022-04-26T20:00", "preferred_min_time": "2022-04-26T08:00", "easyship_shipment_ids": ["xxxxxxxxxxxx"] } Please provide a solution.