V3 API can not create Label : get error message account_id from endicia & postal_reporting_number from pitney

Hi team , I use V3 API to create Label, but I get error message account_id from endicia & postal_reporting_number from pitney,could you help me?

  • label/endicia
POST /v3/order/M-VIC-TEST07/label/endicia HTTP/1.1
Host: api.ordoro.com
Content-Type: application/json
Authorization: Basic cEY4TWdDejhCVEVVZWtsWWlEOVlFelVhTEN3UXVmbjJqY2tYY001bjpPWGJKcTg1UHl0emZaRTlrUDBvb2Q2M0ZteDJ0L3Ixc0U1bXE2V25s
Content-Length: 301

{
    "shipper_id": 216609,
    "shipping_method": "UGA",
    "ship_date": "2025-10-14T13:21:00.199Z",
    "return":false,
    "packages": [
        {
            "height": 1,
            "length": 1,
            "width": 1,
            "weight": 1,
            "box_shape": "Parcel"
        }
    ]
}

response
{
    "error_message": "'account_id'",
    "param": null
}
  • label/pitney
POST /v3/order/M-VIC-TEST06/label/pitney HTTP/1.1
Host: api.ordoro.com
Content-Type: application/json
Authorization: Basic cEY4TWdDejhCVEVVZWtsWWlEOVlFelVhTEN3UXVmbjJqY2tYY001bjpPWGJKcTg1UHl0emZaRTlrUDBvb2Q2M0ZteDJ0L3Ixc0U1bXE2V25s
Content-Length: 281

{
    "shipper_id": 216609,
    "shipping_method": "UGA",
    "ship_date": "2025-10-14T13:21:00.199Z",
    "packages": [
        {
            "height": 1,
            "length": 1,
            "width": 1,
            "weight": 1,
            "box_shape": "Parcel"
        }
    ]
}

response

{
    "error_message": "'postal_reporting_number'",
    "param": null
}

but I can create in protal.

The shipper associated with that ID is usps_ship so your URL will be /v3/order/M-VIC-TEST06/label/usps_ship

Thanks very much, I got the tacking number , but I don’t know how to get label image or pdf, could you help me?

{
    "tracking_number": "9200190396639200050039",
    "package_tracking": "9200190396639200050039",
    "cost": 4.46,
    "transaction_fee": 0,
    "estimated_delivery_date": "2025-10-17T00:00:00+00:00",
    "shipping_method": "USPS_GROUND_ADVANTAGE",
    "display_shipping_method": "USPS_GROUND_ADVANTAGE",
    "tracking_url": "https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=9200190396639200050039",
    "ship_date": "2025-10-14T13:21:00.199000+00:00",
    "carrier_name": "usps_ship",
    "carrier": {
        "id": 216609,
        "link": "/shipper/216609/"
    },
    "packages": [
        {
            "height": 1,
            "length": 1,
            "width": 1,
            "weight": 1,
            "box_shape": "SP"
        }
    ],
    "box_shape": "SP",
    "length": 1,
    "width": 1,
    "height": 1,
    "insurance": null,
    "insured_value": 0,
    "zone": null
}

If you fetch the order using the /v3/order/M-VIC-TEST07 endpoint, you will see shipping_info -> label_image_link which should get you what you need. shipping_info will only be populated for shipped orders.