Discussions

Ask a Question

Shipments Created Through API Showing One Courier

We're having an issue where shipments created through the API are only showing one potential courier, even though when manually inputting the shipment information multiple couriers appear. We often take preorders, and sometimes the customers preferred courier will change so suddenly, out of our several thousand shipments we'll have hundreds of shipments that have no available couriers unless we manually re-enter the order information. How can we solve this? <br>

Antonio Lopez

I have a problem that when creating the shipment it returns a status of partial_success with an error message of No shipping solutions available based on the information provided, what is the cause?

Use USPS delivery confirmation service when create a shipment

Hello Team, I want to use USPS delivery confirmation service through your shipment creation API. Does your API support this? I found the delivery_confirmation key but its value does not have the USPS value. I need the USPS value to use that service.

Using the "set_as_residential: true" in the "rates_request" api route, doesn't work.

I've posted this in a 3 year old thread which was marked as answered and I'm afraid that it will not be addressed due to seeing other questions after the ticket was marked answered left without the reply. So starting new one, in hopes to receive a reply from EasyShip Team. In our frontend ecommerce flow, we present customers with shipping rates and allow them to choose their preferred shipping company/method. Our API requests for rates consistently include the parameter "set_as_residential = true". However, we recently faced a puzzling situation. An order was processed with a delivery charge of $48.80. Our system initially captures the order and the customer’s payment for the chosen shipping rate. Following this, our admin team verifies the order and then forwards (using API) the order to EasyShip for label generation and to arrange pickup from our warehouse. In this specific instance, despite having "set_as_residential = true" in both requests (front-end and back-end), an additional Residential surcharge of $2.75 was added to the shipment as displayed on the EasyShip dashboard only on the back-end request. This occurrence is perplexing as the "set_as_residential" parameter was correctly set to true in both instances, and our customers do not have the option to alter this setting (we do not provide any UI controls for customers to switch between residential and non-residential settings). We would greatly appreciate it if a member of the EasyShip team could provide insights into why this additional surcharge was NOT applied in rates rates_request API route, and assist us in understanding how to prevent such discrepancies in the future. Thank you for your attention to this matter.

<https://api.easyship.com/2023-01/shipments>

uzzleHttp\\Exception\\RequestException cURL error 77: error setting certificate verify locations: CAfile: C:\\xampp\\apache\\bin\\curl-ca-bundle.crt CApath: none (see <https://curl.haxx.se/libcurl/c/libcurl-errors.html>) for <https://api.easyship.com/2023-01/shipments>

Integrate Flow API

I integrated Create a Shipment API so then after which the API needs to implement flow

Return log with "invalid_content", we don't know the root cause to debug

Request log { "incoterms": "DDP", "parcels": \[ { "total_actual_weight": null, "items": [ { "actual_weight": 0.090718474, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 51.09, "description": "Toothpaste Tablets with Fluoride Minty Yuzu Flavor", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 51.09, "quantity": 10, "sku": "tidalminttablettin" }, { "actual_weight": 0.181436948, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 110.04, "description": "Botanical Body Wash Sheets", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 110.04, "quantity": 10, "sku": "tidalbodyrefilltin" }, { "actual_weight": 0.0226796185, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 23.58, "description": "100% Konjac Body Sponge", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 23.58, "quantity": 20, "sku": "860008458698" }, { "actual_weight": 0.1632932532, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 102.18, "description": "3 in 1 Face Wash Beans Purifying", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 102.18, "quantity": 10, "sku": "tidalfacialrefillgrnt" }, { "actual_weight": 0.1632932532, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 102.18, "description": "3 in 1 Face Wash Beans Calming", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 102.18, "quantity": 10, "sku": "tidalfacialrefillwhttin" }, { "actual_weight": 0.1632932532, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 102.18, "description": "3 in 1 Face Wash Beans Brightening", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 102.18, "quantity": 10, "sku": "tidalfacialrefillorgt" }, { "actual_weight": 0.090718474, "category": null, "contains_battery_pi966": null, "contains_battery_pi967": null, "contains_liquids": null, "declared_currency": "HKD", "declared_customs_value": 51.09, "description": "Toothpaste Tablets with Fluoride Cinnamon Flavor", "dimensions": { "length": 1.27, "width": 1.27, "height": 1.27 }, "hs_code": "33049900", "origin_country_alpha2": "US", "origin_currency": "HKD", "origin_customs_value": 51.09, "quantity": 10, "sku": "tidalpinktablettin" } ], "box": null } ], "shipping_settings": { "units": { "dimensions": "in", "weight": "lb" }, "output_currency": "HKD" }, "origin_address": { "city": "2-6 Foo Ming Street, Causeway Bay", "company_name": "TLE Wellness", "contact_email": "[[email protected]](mailto:[email protected])", "contact_name": "Genie Cheung", "contact_phone": "+85297915880", "country_alpha2": "HK", "line_1": "2K, Po Ming Building", "line_2": null, "postal_code": "0000", "state": "Hong Kong" }, "destination_address": { "state": "Hong Kong", "postal_code": "0000", "contact_phone": "+852 6042 2519", "contact_name": "Bob", "city": "Wong Chuk Hang", "contact_email": "[[email protected]](mailto:[email protected])", "line_1": "20/F Metro South Tower 1", "line_2": "39 Wong Chuk Hang Road", "country_alpha2": "HK" }, "insurance": { "is_insured": true, "insured_currency": "HKD", "insured_amount": 5659.2 } } Return log { "error": { "code": "invalid_content", "details": [ "No shipping solutions available based on the information provided" ], "message": "The request body content is not valid.", "request_id": "e9c0abd2acbf4b64440b2083cd4c5afe", "type": "invalid_request_error" } }

UPS rates are not received through API

Hi Easyship support team, We are fetching the Easyship rates through API. All carriers are coming from all the served countries, excepted UPS that is not received at all. We have tried from all countries to several countries, as soon as UPS is shown on the Easyship portal, they are never received through the API. Can you please check what is causing this issue and how to solve this? Thanks

EasyShip <-> Zapier Connection Broken

Hi, For the last months I have successfully used the integration between zapier and easyship. This morning it broke. When I try and reconnect I get the message "This auth is expired. Please reconnect it here.". I figured maybe something had happened to the API Access Token, so I created a new one. But the same thing happens. Another strange thing is that when editing the Scope of an Access Token, it gives the error "Sorry, something went wrong updating your API settings. Please refresh the page and try again!". Clearly, refreshing the page nor creating a new access token helps. The connection between Zapier and EasyShip is broken right now. I have no idea what changed (my account, or perhaps a code change) but there is no way to get the API to be used right now. I reached out to Customer Support, but they told me to start a discussion here. At the moment, our business continuity is 100% impacted. Please help. Thanks and best regards

App to bulk edit item prices in shipments

**My use-case** In shopify, I charge my customer 450€ for my product. This prices is inclusive of a shipping contribution, taxes, and all import duties — not itemised. The customer sees 450€ on the product page, sees that the price is inclusive of taxes, and see one "Free" shipping option. They pay 450€ as the shopify product price and nothing else. When I ship this product to my customer, internationally and in DDP, my commercial invoice, upon which I will be charged import duties, should not list this item at the full 450€. Instead, it should list it at 450 minus shipping contribution minus taxes. In my case, that is 380. The rest of the money I charged will go towards paying shipping and duties. *** As I understand it, I have to feed €380 to Easyship either by changing the order. or shipment.item.declared_customs_value for each item. (Or perhaps I should be looking at Tax and Duty > item.customs_value? Or are those one and the same?) As I understand it, I have no way in the UI to do that in bulk. *** **Explored solutions** - Shopify does not allow me to bulk edit my Oders (eg via their Bulk editor or an automation in Shopify flow) either. - I see I could work without Synced Orders between Shopify and EasyShip. Instead, periodically I would: 1. Export my shopify orders to an Airtable 2. Via an Airtable automation, I update my items and total prices 3. I export my Airtable to csv (everything until this step can be automated) 4. I import the csv into Easyship as new shipments *** But it also looks like this is doable via the Easyship API. How should I be approaching this? It doesn't appear doable with something like Zapier. I have budget for development. Thank you for your advice in advance.