Get raw label data by ID

In the API documentation https://docs.ordoro-dev.com/#operation/LabelRawByLabelId_GET, where do you get the “label_id” from?

We have retrieved an order (https://docs.ordoro-dev.com/#operation/OrderByOrderNumber_GET) and used the values of “label_infos”, but receive the error “"No label with id xxxxxx for company_id yyyyy"

Bueller? Bueller? Bueller?

Hey @Hounddog,
There are two ways to pull the label. The first and probably easiest is to use the label_image_link under the shipping_info nugget on the order response.

Another way is to use the v3 label endpoint. You can pass your order ID as a param o=<your order id> and single_page as the pdf_type

Thanks

That only pulls the PDF version, correct? I need the raw image…

Right. You’ll want to use the label_image_link then. Hope that helps!