Error getting Endicia Label with new URL https://api.ordoro.com/v3/order/{order_number}/label/endicia

Description

Error retrieving ENDICIA label using new URL https://api.ordoro.com/v3/order/{order_number}/label/endicia

When I did:

Everything was working fine until we used new URL and are receiving error.

I looked over Ordoro API Documentation
and didnt see any element MailClass in the new documentation.

Request Details

POST https://api.ordoro.com/v3/order/{ORDER NUMBER}/label/endicia

{"shipper_id":XXXXXX,"packages":[{"box_shape":"Parcel","length":18.0000,"height":5.0000,"width":11.0000,"weight":14.5000}],"delivery_confirmation":"DeliveryConfirmation","shipping_method":"Priority","contents_type":"Merchandise","box_shape":"Parcel"}

Response Details

Body

{

    "error_message": "Missing or invalid element: MailClass. Error encountered (Log ID: 39908) (Status: 1001)",

    "param": null

}

Request ID

85920e4f-3a46-454c-8851-9ec1d0f10a09

That’s an error coming from the carrier, Endicia. That’s what we’re writing via shipping_method.

Looking at this request, it appears that you are attempting to create an international label with a domestic shipping method.