We are having an issue with the Ordoro API for getting label for Endicia International.
this is the URL:
https://apiverson.ordoro.com/order/ordernumber/label/endicia
{"shipper_id":210059,"packages":[{"box_shape":"Parcel","length":4,"height":8,"width":6,"weight":28.0}],"box_shape":"Parcel","delivery_confirmation":"DeliveryConfirmation",
"shipping_method":"FirstClassMailInternational","customs_info": [
{
"description": "item",
"quantity": 1,
"value": 1,
"weight": 28.0,
"country": "canada",
"harmonization_code": ""
}
]}
We are getting error below from the Webservice:
{
“error_message”: “None is not one of [‘Documents’, ‘Gift’, ‘Merchandise’, ‘ReturnedGoods’, ‘Sample’, ‘Other’] (param: customs_info.reason_for_export)”,
“param”: “customs_info.reason_for_export”
}
Then when we add reason_for_export as requested, we get a different error below:
{"shipper_id":210059,"packages":[{"box_shape":"Parcel","length":4,"height":8,"width":6,"weight":164.0}],"box_shape":"Parcel","delivery_confirmation":"DeliveryConfirmation","shipping_method":"FirstClassPackageInternationalService",
"customs_info": [
{
"description": "item",
"quantity": 1,
"value": 1,
"weight": 28.0,
"country": "canada",
"harmonization_code": ""
}
],
"reason_for_export": "MERCHANDISE"
}
THIS IS THE ERROR WE GET
{
"error_message": "Additional properties are not allowed ('reason_for_export' was unexpected)",
"param": null
}