Exporting Packing Slips
Last update: 2 years ago by luigi mangaReading time: 2 min
While integrating Onport with external systems, creating custom export workflows or customer experiences, it may be necessary to export a packing slip from a Dropshipment.
In order to obtain the packing slip, it is necessary to know the id of the Dropshipment. In the cURL request below, the :id placeholder needs to be replaced with such id.
curl --request GET \--url https://api.jetti.io/api/dropshipments/:id/print.json \--header 'Authorization: Bearer {{token}}' \--header 'Content-Type: application/json'
The above API call generates a PDF containing the packing slip and returns the following URL to the downloadable PDF.
{"url": "https://url-to-the-packing-slip.pdf"}