String will returned predefined codes when you make a request to the LCF endpoint. These predefined codes indicate the carrier, service level, and package type used to acheive a low cost fulfillment.
String will return one of the following carrier codes in order to indicate what carrier you should use to ship your package. If you're using a carrier not incldued in this list, please contact the String team to discuss adding support for your carrier. String can support any carrier with an API.
String will return one of the following service codes to indicate what service level you should use to ship your package. Each carrier has it's own unique codes that will not be returned for other carriers.
USPS Service Codes
usps_first_class_mailUSPS will convert this to Ground Advantage by default
UPS Service Codes
ups_mail_innovations_first_classFor Mail Innovations shipments under 1lb
ups_mail_innovations_priority_mailFor Mail Innovations shipments over 1lb
ups_surepost_less_than_1lbFor SurePost shipments under 1lb
ups_surepost_1_lb_or_greaterFor SurePost shipments over 1lb
FedEx Service Codes
DHL Service Codes
smartmail_parcels_groundFor SmartMail standard shipments under 1lb
smartmail_parcels_expeditedFor SmartMail expedited shipments under 1lb
String will return one of the following package type codes to indicate how your parcel will be rated by the carrier selected. This is important because String can select between flat rate options offered by carriers and standard rates based on the size and weight of your package. In some cases, carriers let you use your own packaging for flat rate serivces. For example FedEx One Rate allows this for qualfiying packages.
In addition to the package code, String will also include details about the parcel you should use to make sure your shipping label is configured properly. This information will be retruned to you as an object with key 'parcel'. Please refer to 'API REFERENCE' -> 'Least Cost Fulfillment' for an example of how package information is returned to you via the API.
Generic Package Codes
packageYour own custom packaging.
USPS Package Codes
usps_flat_rate_envelopeYou must use a USPS Flat Rate Envelope to ship this parcel.
small_flat_rate_boxYou must use a USPS Small Flat Rate Box to ship this parcel.
medium_flat_rate_boxYou must use a USPS Medium Flat Rate Box to ship this parcel.
large_flat_rate_boxYou must use a USPS Large Flat Rate Box to ship this parcel.
UPS Package Codes
ups_express_pakYou must use a UPS Pak to ship this parcel.
ups_express_boxYou must use a UPS Express Box to ship this parcel.
ups_express_box_smallYou must use a UPS Express Box Small to ship this parcel.
ups_express_box_mediumYou must use a UPS Express Box Medium to ship this parcel.
ups_25_kg_boxYou must use a UPS 25kg Box to ship this parcel.
ups_10_kg_boxYou must use a UPS 10kg Box to ship this parcel.
FedEx Package Codes
fedex_envelopeYou must use a FedEx Envelope to ship this parcel.
fedex_pak_onerateYou can use your own packaging if approved by FedEx.
fedex_small_box_onerateYou can use your own packaging if approved by FedEx.
fedex_medium_box_onerateYou can use your own packaging if approved by FedEx.
fedex_large_box_onerateYou can use your own packaging if approved by FedEx.
fedex_extra_large_box_onerateYou can use your own packaging if approved by FedEx.
DHL Package Codes
At this time, DHL does not offer any flat rate packaging options for DHL Smartmail shipments. You must use your own packaging to ship with DHL Smartmail.
packageYou must use your own packaging to ship this parcel.