This API returns shipping documents in the document format originally requested. For instance, if you request a label in PNG format when you purchase a shipment, a subsequent call this API which returns the original PNG format label. If you need a different document type, you must cancel the shipment and generate a new shipment with the desired document type.
Please visit Shipment Document API Reference for further information.