Discussions

Ask a Question

What is qr_code in shipping_settings during creating shipment 2023-01/shipments?

What is difference between `qr_code` option and `qr_code_with_label` option? How can I fetch `qr_code` using API? Does `qr_code` is supported by Evri, UPS? Where can I find documentation about detailed information about `qr_code`?

get rates is not working

\`async function getShippingPriceEasyShip() { try { easyship.auth(easyShipSandBoxApi); const rates = await easyship.rates_request({ courier_selection: {apply_shipping_rules: false, show_courier_logo_url: false}, destination_address: {country_alpha2: 'US'}, incoterms: 'DDU', origin_address: { city: "New York", state: "NY", postal_code: "10001", country_alpha2: "US" }, destination_address: { city: "Washington", state: "DC", postal_code: "20500", country_alpha2: "US" }, incoterms: "DDU", insurance: { is_insured: false }, parcels: \[ { items: [ { contains_battery_pi966: true, contains_battery_pi967: true, contains_liquids: false, declared_currency: "USD", origin_country_alpha2: "US", quantity: 11, actual_weight: 20, declared_customs_value: 100, dimensions: { length: 30, width: 20, height: 10, unit: "cm" }, category: "Electronics", item_category_id: "12345", hs_code: "85171200" } ] } ], shipping_settings: { units: { dimensions: "cm", weight: "kg" } } }); return rates; ``` } catch (error) { console.error('Error processing shipment update:', error); throw error } ``` }\` This is my function my api keys are working fine, And i have scope for rates as well The issue is its retuning status code : 200, but response is empty `{ "data": { "rates": [], "meta": { "pagination": { "page": 1, "next": null, "count": 0 }, "request_id": "a740353a0c19e7f4a3828ac7702404d8" } }, "status": 200, "headers": {}, "res": {} }`

Sandbox API returns no quotes

Using Sandbox API leads to no quotes returned Request: {"courier_selection":{"apply_shipping_rules":true},"origin_address":{"country_alpha2":"AU","city":"SYDNEY","postal_code":"2000","state":"NSW"},"destination_address":{"country_alpha2":"AU","postal_code":"3000","state":"VIC","city":"MELBOURNE"},"incoterms":"DDU","insurance":{"is_insured":true},"parcels":\[{"box":{"height":11.0,"length":11.0,"width":11.0},"items":[{"declared_currency":"AUD","declared_customs_value":1.0,"description":"Box","hs_code":"49011010","origin_country_alpha2":"AU","quantity":1}],"total_actual_weight":1.0}],"shipping_settings":{"units":{"dimensions":"cm","weight":"kg"}}} Response: {"rates":\[],"meta":{"pagination":{"page":1,"next":null,"count":0},"request_id":"411c1109064639fc7b9adecc1aa3cf60"}} I can share API Key in some private way also. Same for production returns some quotes.

How can I use test easyship API?

Hello Easyship Support, I am currently developing an application that will integrate with Easyship’s API, and I would like to request access to the Sandbox environment for testing purposes. This will allow me to simulate shipping processes without incurring real charges. First: Please provide the necessary credentials and any additional information needed to set up and use the Sandbox environment. Second: How many days does it take for delivery to be approved in a sandbox environment? Third: What is required to implement tracking in a sandbox environment? I appreciate your support. Best regards,

UPS 3 Day Select rate does not appear in the API

Good morning, we have implemented your API on our website, but we have a detail with the rates it shows, since some appear on the portal but not in the API, for example the UPS 3 Day Select rate does not appear in the API but it does. In the portal. What could be the reason for this difference?

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>