Adding Shipping Label During Order Creation via Shopify API

I want to add a shipping label (URL or attachment) while creating an order, as I’m using my own shipping method. How can I achieve this through the Shopify API?