Add custom description / customer reference during label printing

The code facilitates you to add the custom description during printing label for international as well as domestic shipping. Add the following code to your functions.php or anywhere relevant.

In the above code, $request contains $custom_product_description / CUSTOMER_REFERENCE  which will be sent to FedEx API during label creation. This code is given for changing the description to ‘ My Product Description’ as an example.

Last Updated On September 16, 2018