Upload Images

RocketShipIt is capable of uploading logos and signatures for inclusion on customs forms:

Note

Image uploading requires production access and FedEx certification. You can request production access from the FedEx Developer Center.

FedEx

Example:

<?php
$uploader = new \RocketShipIt\UploadImage('fedex');
// {'IMAGE_1'|'IMAGE_2'|'IMAGE_3'|'IMAGE_4'|'IMAGE_5'}
$uploader->setParameter('imageId', 'IMAGE_1');
$uploader->setParameter('image', 'logo.png'); // Path to your image
$response = $uploader->upload();