Discussions

Ask a Question

Logiwa Easyship integration

Hi, I connected Easyship with our WMS Logiwa. When we try to get rated we get the error message - "-> Shipping service not eligible for this order".Could you help check what could be the issue?When I look in Easyship it seems that the category is automatically set as document, not sure if he can be the issue. { "origin_address": { "line_1": "125 N Caldwell Street", "state": "KY", "city": "Auburn", "postal_code": "42206", "company_name": "Shipping Department", "contact_name": "Shipping Department", "contact_phone": "", "contact_email": "", "line_2": "", "country_alpha2": "US" }, "destination_address": { "line_1": "500 E Broad St", "state": "VA", "city": "Richmond", "postal_code": "23219", "company_name": "Test Test", "contact_name": "Test Test", "contact_phone": "", "contact_email": "", "line_2": "", "country_alpha2": "US" }, "incoterms": "DDP", "insurance": { "is_insured": false, "insured_amount": null, "insured_currency": "USD" }, "courier_selection": { "apply_shipping_rules": true }, "shipping_settings": { "units": { "weight": "oz", "dimensions": "in" } }, "parcels": \[ { "total_actual_weight": 17.0, "box": { "slug": "", "length": 7.0, "width": 10.0, "height": 10.0 }, "items": [ { "quantity": 6, "category": "Documents", "description": "canned goods", "sku": "canned goods", "actual_weight": 17.0, "declared_currency": "USD", "declared_customs_value": 7.0 } ] } ] } { "status": "success", "rates": [ { "courier_id": "e30d3997-d7b1-4c1d-afd2-ea1556aa943b", "courier_name": "UPS 2nd Day Air®", "min_delivery_time": 2, "max_delivery_time": 2, "cost_rank": 3.0, "value_for_money_rank": 1.0, "delivery_time_rank": 5.0, "currency": "USD", "shipment_charge": 13.62, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 13.62, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 13.62, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS 2nd Day Air® (2 working days) No additional taxes to be paid at delivery" }, { "courier_id": "2f74ee63-da36-4883-8c73-4e38beb8ff3c", "courier_name": "UPS 2nd Day Air A.M. ®", "min_delivery_time": 2, "max_delivery_time": 2, "cost_rank": 4.0, "value_for_money_rank": 2.0, "delivery_time_rank": 6.0, "currency": "USD", "shipment_charge": 14.97, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 14.97, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 14.97, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS 2nd Day Air A.M. ® (2 working days) No additional taxes to be paid at delivery" }, { "courier_id": "137a79e8-ae1c-4369-9855-44cf8ff784c4", "courier_name": "USPS - Priority Mail Signature", "min_delivery_time": 2, "max_delivery_time": 3, "cost_rank": 2.0, "value_for_money_rank": 3.0, "delivery_time_rank": 7.0, "currency": "USD", "shipment_charge": 10.69, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 10.69, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 10.69, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,free_pickup", "tracking_rating": 1.0, "easyship_rating": 3.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "USPS - Priority Mail Signature (2-3 working days) No additional taxes to be paid at delivery" }, { "courier_id": "39bfa333-c2a2-4dee-9da9-319bf38129cd", "courier_name": "UPS 3 Day Select®", "min_delivery_time": 3, "max_delivery_time": 3, "cost_rank": 1.0, "value_for_money_rank": 4.0, "delivery_time_rank": 8.0, "currency": "USD", "shipment_charge": 10.04, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 10.04, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 10.04, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS 3 Day Select® (3 working days) No additional taxes to be paid at delivery" }, { "courier_id": "1e05ed7b-4a1e-461d-9832-8530eab88fc5", "courier_name": "UPS Next Day Air Saver®", "min_delivery_time": 1, "max_delivery_time": 1, "cost_rank": 6.0, "value_for_money_rank": 5.0, "delivery_time_rank": 1.0, "currency": "USD", "shipment_charge": 37.76, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 37.76, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 37.76, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS Next Day Air Saver® (1 working day) No additional taxes to be paid at delivery" }, { "courier_id": "a623a62b-5631-4dce-ae15-bbcf89e49c52", "courier_name": "USPS - Priority Mail Express", "min_delivery_time": 1, "max_delivery_time": 2, "cost_rank": 5.0, "value_for_money_rank": 6.0, "delivery_time_rank": 4.0, "currency": "USD", "shipment_charge": 35.15, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 35.15, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 35.15, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,free_pickup", "tracking_rating": 1.0, "easyship_rating": 3.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "USPS - Priority Mail Express (1-2 working days) No additional taxes to be paid at delivery" }, { "courier_id": "70fa1197-3021-4aee-b08c-a70d6e7ac198", "courier_name": "UPS Next Day Air®", "min_delivery_time": 1, "max_delivery_time": 1, "cost_rank": 7.0, "value_for_money_rank": 7.0, "delivery_time_rank": 2.0, "currency": "USD", "shipment_charge": 43.32, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 43.32, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 43.32, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS Next Day Air® (1 working day) No additional taxes to be paid at delivery" }, { "courier_id": "4b97a37c-99bc-44f1-bd23-5ac4df0b38ce", "courier_name": "UPS Next Day Air® Early", "min_delivery_time": 1, "max_delivery_time": 1, "cost_rank": 8.0, "value_for_money_rank": 8.0, "delivery_time_rank": 3.0, "currency": "USD", "shipment_charge": 73.32, "fuel_surcharge": 0.0, "remote_area_surcharge": 0.0, "remote_area_surcharges": {}, "other_surcharges": {}, "oversized_surcharge": 0.0, "additional_services_surcharge": 0.0, "residential_full_fee": 0.0, "residential_discounted_fee": 0.0, "shipment_charge_total": 73.32, "warehouse_handling_fee": 0.0, "insurance_fee": 0.0, "sales_tax": 0.0, "provincial_sales_tax": 0.0, "ddp_handling_fee": 0.0, "import_tax_charge": 0.0, "import_tax_non_chargeable": 0.0, "import_duty_charge": 0.0, "total_charge": 73.32, "is_above_threshold": false, "incoterms": "DDU", "estimated_import_tax": 0, "estimated_import_duty": 0, "minimum_pickup_fee": 0.0, "available_handover_options": "dropoff,paid_pickup", "tracking_rating": 3.0, "easyship_rating": 4.5, "courier_remarks": null, "payment_recipient": "Easyship", "discount": { "amount": 0, "code": null, "percentage": null, "expires_at": null, "origin_amount": 0 }, "description": "No additional taxes to be paid at delivery", "full_description": "UPS Next Day Air® Early (1 working day) No additional taxes to be paid at delivery" } ] }

Creating Label

Hello, I'm unable to create a label with the label abi after creating a shipment with the shipment API. I am getting a 422 response with the message {"error":{"code":"invalid_content","details":["Shipments not ready to be shipped: ESUS153245295"],"message":"The request body content is not valid.","request_id":"8dd0e406d7f6ac5699bba946ea1bdfe7","type":"invalid_request_error"}} Is there anything that needs be done in between creating shipment and creating a label. Thank you.

Label data not displaying correctly

Hello, when calling the completed label data over API to our custom database, the label image is not displayed, (it has been working fine for years until today) and the error "Could not show file correctly. Click here to open it in a new page." is displayed that opens the label in a new tab, the label can then be seen and printed, but why has this happened suddenly today? Has there been any updates on changes to the Easyship API today? Will this fix itself with time as this is an Easy ship error or do we need to update our systems database The issue is consistent across Firefox and Chrome and various operating systems indicating this is the Easyship side that has caused the issue. This is displayed <https://drive.google.com/file/d/1iF4ERS464CakQzpHGycz6BE47XyvLivF/view?usp=drive_link> however the label should be displayed, as shown when clicking the link to open the image in a new tab Thanks if you can advise.

Don't have a quote with UPS from US to US?

Don't have a quote with UPS from US to US?

How to disable price with duty option through API

Within the API parameters, the default setting for the "price with duty" is enabled. However, we would like to know how to disable it, as this information is not provided in the API documentation, if provided pls specify the section to refer and do the same. As we are getting higher prices because of it.

How can I set selected_courier_id attribute? Does it needs to be nested within an object body?

I've tried top level declaration of the same attribute but it still defaults to the best value for money Courier. API version: 2023.01

API shipment request failure - Denmark export to Spain

Hello, We recently tried to book a shipment, via our API, going from Denmark to Spain. I expected that our DHL rates, on our own courier account DHL DK Export (302392238) would be returned and the shipment booked successfully. It appears we are able to book shipments, with this account, when it's a domestic (DK to DK) shipment, but DK to EU or rest of world is problematic. Our request: {"origin_address":{"line_1":"Bredgade 65","city":"Copenhagen K","postal_code":" 1260","country_alpha2":"DK","contact_email":"[email protected]","contact_phone":"+45 71 99 51 24","company_name":"Elhanati","contact_name":"Dave Marsland"},"destination_address":{"line_1":"Carrer de les Oliveres 9","line_2":"can macia","city":"Sant Pere de Ribes","postal_code":"08810","country_alpha2":"ES","contact_email":"[email protected]","contact_phone":"+34 633 67 88 27","company_name":"Karolin y Manuel Trockels Mora","contact_name":"Karolin y Manuel Trockels Mora"},"order_data":{"platform_name":"Finematter","platform_order_number":"FM4205-F1"},"incoterms":"DDP","shipping_settings":{"buy_label_synchronous":true,"buy_label":true},"parcels":\[{"box":{"length":8,"width":23,"height":14},"total_actual_weight":0.184,"items":[{"quantity":1,"description":"Esmeralda duo emerald and diamond ring (54 mm)","hs_code":711319,"actual_weight":0.1,"origin_country_alpha2":"DK","declared_currency":"EUR","declared_customs_value":1149.59,"sku":"FM-ELH-ELH/SO/1010EM-54","category":"jewelry"}]}]} The response: {"shipment":{"easyship_shipment_id":"ESDK146994583","consignee_tax_id":null,"courier":null,"created_at":"2023-06-02T09:34:38Z","currency":"GBP","delivery_state":"not_created","destination_address":{"city":"Sant Pere de Ribes","company_name":"Karolin y Manuel Trockels Mora","contact_email":"[email protected]","contact_name":"Karolin y Manuel Trockels Mora","contact_phone":"+34633678827","country_alpha2":"ES","line_1":"Carrer de les Oliveres 9","line_2":"can macia","postal_code":"08810","state":null},"eei_reference":null,"incoterms":null,"insurance":{"is_insured":false,"insured_amount":0,"insured_currency":"GBP"},"label_generated_at":null,"label_paid_at":null,"label_state":"not_created","last_failure_http_response_messages":\[],"metadata":{},"order_created_at":null,"order_data":{"platform_name":"Finematter","platform_order_number":"FM4205-F1","order_tag_list":\[],"seller_notes":null,"buyer_notes":null},"origin_address":{"city":"Copenhagen K","company_name":"Elhanati","contact_email":"[email protected]","contact_name":"Dave Marsland","contact_phone":"+45 71 99 51 24","country_alpha2":"DK","line_1":"Bredgade 65","line_2":null,"postal_code":" 1260","state":null},"parcels":\[{"box":{"id":null,"name":null,"outer_dimensions":{"length":8,"width":23,"height":14},"slug":null,"type":"box","weight":0},"items":[{"actual_weight":0.1,"category":"Jewelry","contains_battery_pi966":null,"contains_battery_pi967":null,"contains_liquids":null,"declared_currency":"EUR","declared_customs_value":1149.59,"description":"Esmeralda duo emerald and diamond ring (54 mm)","dimensions":{"length":0,"width":0,"height":0},"hs_code":"71131900","origin_country_alpha2":"DK","origin_currency":"GBP","origin_customs_value":980.7335603469579,"quantity":1,"sku":"FM-ELH-ELH/SO/1010EM-54"}],"total_actual_weight":0.184}],"pickup_state":"not_requested","rates":\[],"regulatory_identifiers":{"eori":null,"ioss":null,"vat_number":null},"return":false,"return_address":{"city":"Copenhagen K","company_name":"Elhanati","contact_email":"[email protected]","contact_name":"Dave Marsland","contact_phone":"+45 71 99 51 24","country_alpha2":"DK","line_1":"Bredgade 65","line_2":null,"postal_code":" 1260","state":null},"sender_address":{"city":"Copenhagen K","company_name":"Elhanati","contact_email":"[email protected]","contact_name":"Dave Marsland","contact_phone":"+45 71 99 51 24","country_alpha2":"DK","line_1":"Bredgade 65","line_2":null,"postal_code":" 1260","state":null},"set_as_residential":false,"shipment_state":"created","shipping_documents":\[],"tracking_page_url":"<https://www.trackmyshipment.co/shipment-tracking/ESDK146994583","trackings":[],"updated_at":"2023-06-02T09:34:38Z","warehouse_state":"none"},"meta":{"status":"partial_success","errors":["Sorry>, we couldn't find any shipping solutions based on the information provided."],"unavailable_couriers":\[]}}

Prefering drop off

is there a way to "force" selection of drop off even for rates includes "courier_does_pickup": ture ?

Error when generating label via shipment

I'm trying to use the sandbox and test generating a label at the same time as a shipment, however when I query the shipment after creation and get the label I get the error: "last_failure_http_response_messages": \[ { "code": "NoMethodError", "content": "undefined method \`\[]' for nil:NilClass" } ], Could you have a look and let me know what the call is missing/the cause? Thanks!

different results across web/protal and our site (API)

Our site is integarted via API with easyship for some time now. We see consistent results for identical shipments across the easyship portal and our site - as expected. At your (easyship's) suggestion I created and different new (easyship) account and changed the access key to the new account (on our test environment). In testing with the new account we see** inconsistent **results for identical shipments across the easyship portal and our site. Results on our site (via API) are fewer and and lot more expensive. Could that be because the new account is not funded yet? Other reason? The new account ID is CIL602749