Create a Label from a Shipment

📘

Want to make fewer requests?

You can accomplish creating a label in a single request by setting label_download_type: "inline" or "url" when creating a shipment.

POST /v1/labels/package/BR23445634532 HTTP/1.1
Host: api.brdrch.com
API-Key: __YOUR_API_KEY_HERE__
Content-Type: application/json
{
  "package_reference": "ABC1234",
  "br_tracking_id":"BR23445634532",
  "pdf": "https://api.brdrch.com/v1/downloads/10/XNGDhq7uZ0CAEt5LOnCxIg/label-7764944.pdf",
  "pdf_base64": "1791234h1239412h34-219u349u9128347123984h1234h-912834y12h381234yh123812348"
}