POST to /order/order_number/label/amazon results in the error:
{
"error_message": "Amazon error InvalidShipFromAddress: None",
"param": null
}
JSON request:
{
"delivery_confirmation": "NoTracking",
"shipper_id": 999999,
"shipping_method": "UPS_PTP_GND",
"ship_from": {
"company": "XXXXXXX",
"street1": "XXXXXXX",
"city": "XXXXXX",
"state": "XX",
"zip": "XXXXX",
"country": "XX",
"email": "XXXX@XXXXX.XXX"
},
"length": 10,
"width": 10,
"height": 7,
"weight": 8
}
And:
{
"delivery_confirmation": "NoTracking",
"shipper_id": 999999,
"shipping_method": "UPS_PTP_GND",
"ship_from": {
"company": "XXXXXX",
"street1": "XXXXXX",
"city": "XXXXXX",
"state": "XX",
"zip": "XXXXX",
"country": "XX",
"email": "XXXXXX@XXXXXX.XX",
"fax": "",
"name": "",
"phone": "",
"cart_address_id": "",
"id": 0,
"reference_number": ""
},
"length": 10,
"width": 10,
"height": 7,
"weight": 8
}
I was able to successfully get a label several days ago without passing a ship_from, but I need ship_from so the label doesn’t contain the defaults set in Ordoro.