MwSpaceLLC / packlink-php

Packlink Pro Php Api Sdk (shipping automation) | Php Library Model (Unofficial)
Apache License 2.0
3 stars 2 forks source link

Get the shipping label #5

Closed FrancescoTalotta closed 7 months ago

FrancescoTalotta commented 7 months ago

Hello,

is there any way to get the .pdf file once the shipment is confirmed? I see that with the command $shipment = Shipment::find('YOUR_SHIPMENT_ID'); // find shipment by id I can retrieve a link to a .pdf file, but it does not work when I try to download the .pdf file.

Thank you

Update: I solved the issue. :)