Make Shipping Labels Using Force.com Sites

Install either our FedEx, UPS or USPS packages from the AppExchange.

Here are the steps to setup:

1- Create a public domain

2- Create a public site

3- Add the ShipmentLabelsAPI class to that site (included within the package)

After that you will be able to execute GET request to the https://public.site.domain.name/services/apexrest/namespace/ShipmentLabelsAPI?Id=<attachmentId>

For example:
https://fedex-demo.secure.force.com/services/apexrest/namespace/ShipmentLabelsAPI?Id=A00000000000000123

You may also like...