It's a GET API, which returns the response in JSON that needs to be rendered into HTML using encoding 128 and get appropriate layout of packing slip.
We have attached below a design of packing slip that will give the idea of how the packing slip should look like.
Test Environment URL
Production Environment URL
Attaching the sample below of packing slip design