Overview
Most ship requests suceed, but this one CONSISTENTLY fails with a 400 error: { "origin_country_alpha2": "US", "origin_postal_code": "92840", "destination_country_alpha2": "BR", "destination_city": "Rio de Janeiro", "destination_state": "RJ", "destination_postal_code": "22231-100", "destination_name": "MARCIO MIGON", "destination_address_line_1": "Rua Marquês de Pinedo", "destination_address_line_2": "17/ 502", "destination_phone_number": "21971000171", "taxes_duties_paid_by": "Sender", "is_insured": false, "allow_courier_fallback": false, "box": { "height": 1.0, "width": 11.0, "length": 15.0 }, "total_actual_weight": 0.5625, "items": [ { "quantity": 1, "category": "fashion", "declared_currency": "USD", "declared_customs_value": 6.0, "description": "Neckwear and Accessories" }, { "quantity": 1, "category": "fashion", "declared_currency": "USD", "declared_customs_value": 0.0, "description": "Neckwear and Accessories" }, { "quantity": 1, "category": "fashion", "declared_currency": "USD", "declared_customs_value": 70.0, "description": "Neckwear and Accessories" }, { "quantity": 1, "category": "fashion", "declared_currency": "USD", "declared_customs_value": 35.0, "description": "Neckwear and Accessories" }, { "quantity": 1, "category": "fashion", "declared_currency": "USD", "declared_customs_value": 35.0, "description": "Neckwear and Accessories" } ], "selected_courier_id": "bbc5d965-6745-4fad-94d6-b79954044db3", "buy_label_synchronous": true, "label": "4x6", "format": "PDF" }
Posted by Wild 8 months ago
I have a Joomla site and am integrating Quick2Cart to sell products from multi-vendors. Will I be able to integrate easyship to allow each vendor access to be able to ship using easyship? The idea is for the vendor to be able to ship local or world wide if they desire. I will appreciate your response.
Posted by Curt Simpson 8 months ago
Hello Team, I am trying to get some results of rates API but I am always getting the below response. { "rates": [], "messages": [ "Sorry, we couldn't find any shipping solutions based on the information provided." ] } I tried to call this API from Postman collection. Based on this response I have to call shipment APIs but because of this, I am stuck. However, it's working in production mode but I can not use that during the development.
Posted by Malav Soni 8 months ago
Hello Team, I am trying to create labels using the API but there are no parameters to specify the source location. I can see only destination parameters. By default, it takes the source as the address which I have configured in my account. In my use case, I need the source address to be dynamic. Is there any way I can archive this? Thanks, Malav Soni
Posted by Malav 9 months ago
Hi. We see that there is no way to specify a sender address while creating a shipment via the API - looks like it takes the default address of the platform. However, in our case, each shipment will have a different sender address. Is there a way to achieve this? Or, is there a way to create an address using the API and specify this address id while creating shipment? Let us know.
Posted by Sunil Prabhakar 9 months ago
I've set up shipping rules on my site with Bigcommerce and established shipping rules to only allow Priority Mail and Priority Mail Express. When going on the store to test rates with items in the cart, why are the wrong rates showing up?
Posted by Jacob H 9 months ago
Hi EasyShip support, Two errors that have been persisting for months since I've added onto a live site: REST API request fail (Error: [] cURL error 28) and Warning: session_start() References: https://wordpress.org/support/topic/rest-api-request-fail-error-curl-error-28-and-warning-session_start/ https://wordpress.org/support/topic/warning-session_start-11/
Posted by Daniel 9 months ago
Can you please confirm if Easyship can handle the following architecture from an API perspective? 1) Is it possible for our company to have a master account with Easyship under which each of the sellers on the marketplace can have a sub-account with their own warehouse locations across the world? 2) When a customer is purchasing from the marketplace they would be purchasing potentially from multiple vendors in a single checkout – this would mean that they would need to receive multiple quotes from different “From” destinations. Would this be possible in a single API call if all vendor sub-accounts were under our company's master account – potentially as different warehouses or lodgement locations? 3) OR alternatively if each vendor had to have their own account with Easyship would we be able to make multiple calls for each account to receive quotes? e.g. Customer, located in Sydney orders from three vendors: 1) Vendor 1 in Australia, warehouse in Melbourne 2) Vendor 2 in Vietnam with warehouse in HoChiMinh City 3) Vendor 3 in Netherlands with Warehouse in Amsterdam Expected results 1) Consignment 1 from Vendor 1 (Melbourne -> Sydney) = $XX 2) Consignment 2 from Vendor 2 (HoChiMinh City -> Sydney) = $XX 3) Consignment 3 from Vendor 3 (Amsterdam -> Sydney) = $XX We also expect that each of the above shipping quotes will have a different carrier product offering for the customer to select. Once the customer selects their shipping options and place order, each of the Vendors will need to be able to lodge their consignment and manifest independently. Can you please confirm if the above is achievable?
Posted by Jeremy Barnett 10 months ago
Hi all. I am having trouble trying to request a rate. I have tried 2 different methods to no avail. The first I get a 500 error "We're sorry, but something went wrong (500)" while the second I keep getting a "{"message":"Rates could not be calculated","errors":["No Items"]}" error. Both are attempted using JS. 1st method... $.ajaxSetup({ headers: { Authorization: "Bearer prod_myKEY" }, data: { origin_postal_code: "92630", destination_country_alpha2: "US", destination_postal_code: "10001", taxes_duties_paid_by: "Sender", is_insured: false, items: [ { actual_weight: 1.2, height: 10, width: 10, length: 10, category: "fashion", declared_currency: "USD", declared_customs_value: 100 } ] } }); $.post('https://api.easyship.com/rate/v1/rates', function(data) { console.log(data); }); 2nd method... $.ajaxSetup({ headers: { Authorization: "Bearer prod_myKEY" }, data: JSON.stringify('{"origin_postal_code":"WC2N","destination_country_alpha2":"US","destination_postal_code":"10030","taxes_duties_paid_by":"Sender","is_insured":false,"items":[{"actual_weight":1.2,"height":10,"width":15,"length":20,"category":"mobiles","declared_currency":"SGD","declared_customs_value":100}]}') }); $.post('https://api.easyship.com/rate/v1/rates', function(data) { console.log(data); }); What I am doing wrong???
Posted by PlsDontShipMe 10 months ago
I want to connect my easyship account to the site i sell my products from. I was told easyship doesn't do direct integration and i am not a computer person. So I don't know where or how to start. Do i contact the site i sell on and they would need to add code for Easyship API? Or is it something i have to do from my dashboard? If there is a code i have to enter somewhere i understand because i linked easyship to my woocommerce site but this isn't a site i control, so i am confused.
Posted by Tonia 10 months ago
Hi, We are using easy ship API , we arere getting success response and shipment id also but when we sign into easyship dashboard the shipments are not showing in Manage shipments instead they are showing in Advanced. Kindly help us anyone what is the wrong we doe.
Posted by Naresh 10 months ago
Hi Dev, I have tried to retrieve shipping rate with the following JSON: { "origin_country_alpha2": "SG", "origin_postal_code": "239732", "destination_country_alpha2": "SG", "destination_postal_code": "238839", "taxes_duties_paid_by": "Sender", "is_insured": false, "items": [ { "actual_weight": 1.2, "height": 10, "width": 15, "length": 20, "category": "mobiles", "declared_currency": "SGD", "declared_customs_value": 100 } ] } But I can't get any rates from your API, can you guide me on what did I need to provide to have the rate API to work flawlessly? Can you list down the combination of fields that can be use to retrieve rates flawlessly?
Posted by Joe 10 months ago
We used below API for buylabel and we got response and it is shown in eashship-> Create Shipments --> Advanced https://api.easyship.com/shipment/v1/shipments/create_and_buy_label Query: When it will move to Manage Shipments?
Posted by bharath 10 months ago