Discussions

Ask a Question

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]",
"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]",
"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
}
}

ANSWERED
ANSWERED

WooCommerce HPOS Compatibility

Hello,

ANSWERED

Pledgebox Data Push

Hi

UPS rates are not received through API

Hi Easyship support team,

ANSWERED

EORI number for UK shipments

Hello, I know this is not strictly related to the API, but customer support is not quite aware of this technical level detail it seems, and we will need to make changes to our label creation code when sending requests to set the DDU to DDP and input the EORI in the TAX ID field as it seems to not be handled correctly by easyship.

ANSWERED

Store Integration via API

Hi, I am connecting Easyship to our third-party fulfillment partner. They are asking for a token and secret key for the API integration. How can I generate the token and secret key for this?

ANSWERED

Create Courier Using API

Are there any ways to create courier account via API ?

ANSWERED

Rates API

I have a question about this endpoint https://api.easyship.com/2023-01/rates. The endpoint documentation shows that you can pass either the ID or the SKU of the product, but I'm getting this error 422
{
"error": {
"code": "invalid_content",
"details": ,
"message": "The request body content is not valid.",
"request_id": "091b71a1d17b19f63b63317d71857e0e",
"type": "invalid_request_error"
}
}
the documentation states "if you provide the box object, its dimensions will prevail over the summary dimensions of each individual item. If not specified, items dimensions are mandatory to calculate the best box size for the parcel".
I don't have the box nor the item dimensions so I can't provide them, and so I want to know why I have to pass the item dimensions if I'm passing the ID/SKU of the product and the dimensions can be obtained using that ID/SKU.

ANSWERED

Origin Address ID when order is imported from ecommerce platform

I am attempting to get the "origin address id" of shipments via API, webhook, or zapier prior to a label being generated. I need this because I am creating an internal order management dashboard that should significantly streamline our order management process. I want to create buttons that directly pull up the order details in EasyShip (came in via ecwid integration) and allow me to then make the label. Right now, there is a lot of copy/paste and searching going on, and it's burning a lot of time and making the process very nonlinear and prone to error. By having that ID, I can just build a URL automatically that pulls the order right up. But your zapier integration, webhook payloads, etc. all seem to be only available after further action has been taken in the Easyship platform (like creating a label). I can't get that ID until someone has manually come over into Easyship, found the order, and purchased a label.